DBUnit

DbUnit is a JUnit extension (also usable with Ant) targeted for database-driven projects that, among other things, puts your database into a known state between test runs. This is an excellent way to avoid the myriad of problems that can occur when one test case corrupts the database and causes subsequent tests to fail or exacerbate the damage.

DbUnit has the ability to export and import your database data to and from XML datasets. Since version 2.0, DbUnit can works with very large dataset when use in streaming mode. DbUnit can also helps you to verify that your database data match expected set of values.
1234567 ... 16
Topics (552)
Replies Last Post Views Sub Forum
How to insert Spatial data i.e POINT or POLYGON? by Shivananda Shiragavi
0
by Shivananda Shiragavi
DBUnit - Users
delete ALL tables by Sebaso
3
by Jenny, Albert
DBUnit - Users
FW: Are unique indexes necessary for an export? by Jenny, Albert
0
by Jenny, Albert
DBUnit - Users
CsvDataSet - Character ... cannot be handled by tsriba
0
by tsriba
DBUnit - Users
strange error when running all the tests by Sebaso
1
by Sebaso
DBUnit - Users
Different dataset for each testcase by uravi
3
by John Hurst-2
DBUnit - Users
export xmldataset into SQL by Sebaso
3
by John Hurst-2
DBUnit - Users
Prevent Table Sorting Before Execution in Order to Insert Into Circular Dependency by leojhartiv
0
by leojhartiv
DBUnit - Users
delete a single table by Piotr Jagielski-3
1
by Dominique Jean-Prost
DBUnit - Users
Using qualified table names feature by Ryan McFall
1
by Jeff Jensen-2
DBUnit - Users
How to rollback two different sessions? by David Balažic
1
by André VICENTE
DBUnit - Users
DbUnit Ant Task Compare DiffCollectingFailureHandler by Bourne, Andrew
0
by Bourne, Andrew
DBUnit - Users
Fwd: DefaultDataTypeFactory and NumberTolerantDataType by Texas_Tester
0
by Texas_Tester
DBUnit - Users
Changing Log Levels by KevinO-3
1
by John Hurst-2
DBUnit - Users
Getting a fetch size exception while exporting partial database by iplazlac
0
by iplazlac
DBUnit - Users
Circular Reference SQL Server "For Replication" by André VICENTE
1
by André VICENTE
DBUnit - Users
MySQLSyntaxErrorException when column name is 'key' by keijox
0
by keijox
DBUnit - Users
Export fullDataSet to XML from MS SQL Server 2005 by William Anderson-4
2
by gunipati81
DBUnit - Users
DbUnit ignores unknown tables while reading from data set by Michał Grzejszczak
1
by Jeff Jensen-2
DBUnit - Users
Applying sql scripts from a file by Andy Stevens-2
3
by Mike Kienenberger
DBUnit - Users
hypersql and verifying a lower case schema name by Andy Stevens-2
1
by Mike Kienenberger
DBUnit - Users
Submitting patches to DbUnit... by Darryl L. Pierce-2
4
by Jeff Jensen-2
DBUnit - Users
How to keep primary key value the same as in dataset by Trieu Nguyen
3
by John Hurst-2
DBUnit - Users
DB2: Re: Problem with DatabaseTableMetaData by John Hurst-2
0
by John Hurst-2
DBUnit - Users
Problem with DatabaseTableMetaData by Darrell Roberts
0
by Darrell Roberts
DBUnit - Users
Dynamically Creating Data Sets by Marc Philipp-2
0
by Marc Philipp-2
DBUnit - Users
Weird comparison failure for SortedTable with useComparable=true! But why? by Kimbrough, Kerry
4
by Sébastien LE CALLONN...
DBUnit - Users
Another stall? by Roberto Lo Giacco
0
by Roberto Lo Giacco
DBUnit - Users
Problem with PROPERTY_IDENTITY_COLUMN_FILTER by nodje
5
by nodje
DBUnit - Users
Re: DB Unit test for a table with a reserved name (`Group`) by Tan Tan
0
by Tan Tan
DBUnit - Users
DatabaseOperation.CLEAN_INSERT by Tejash Shah
1
by Roberto Lo Giacco
DBUnit - Users
Bug in dbUnit 2.4.8? dbUnit config does not allow to set property PROPERTY_IDENTITY_COLUMN_FILTER by Andreas Guther-4
1
by gunipati81
DBUnit - Users
Primary Key Auto-Increment by André VICENTE
2
by gunipati81
DBUnit - Users
DB Unit test for a table with a reserved name (`Group`) by Tan Tan
2
by Roberto Lo Giacco
DBUnit - Users
dbunit maven plugin by Josh Joy-2
0
by Josh Joy-2
DBUnit - Users
1234567 ... 16