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.
1 ... 13141516
Topics (552)
Replies Last Post Views Sub Forum
StreamingDataSet - Only one iterator allowed! by dhartford
0
by dhartford
DBUnit - Users
Getting java.lang.OutOfMemoryError with getAllDependentTables by Gonzalo Rodríguez Pí...
0
by Gonzalo Rodríguez Pí...
DBUnit - Users
postgresql and foreign key constraints by Levent Aksu
2
by Levent Aksu
DBUnit - Users
DbUnitTask reports wrong name if factory is not found? by Ostermueller, Erik-2
0
by Ostermueller, Erik-2
DBUnit - Users
Build help by Ostermueller, Erik-2
2
by Wayne Fay
DBUnit - Users
Re: hoe to generate primarykey using dbunit? by George Dinwiddie
0
by George Dinwiddie
DBUnit - Users
Can DbUnit restore the database to a snapshot as it was before the test, and can DbUnit assert against an dataset file describing the changes since the snapshot ? by tomjbr.41338935
0
by tomjbr.41338935
DBUnit - Users
Can DbUnit insert rows with an identity/auto-incremented primary key column ? by tomjbr.41338935
0
by tomjbr.41338935
DBUnit - Users
table order in dbunit ant export by billsalvucci
0
by billsalvucci
DBUnit - Users
FlatXmlDataSet and Newline in Data by Schröter Daniel
1
by Schröter Daniel
DBUnit - Users
Dbunit 2.2 Closed connection SQLException by murali mohan
1
by murali mohan
DBUnit - Users
CLOB fields with XmlDataSet by jimpo
0
by jimpo
DBUnit - Users
CLOB fields with XmlDataSet by jimpo
0
by jimpo
DBUnit - Users
Adding support for PostGIS databases by Sebastien Arbogast
0
by Sebastien Arbogast
DBUnit - Users
DbUnit - XML dataset - autogenerated keys by tcs
1
by George Dinwiddie
DBUnit - Users
Microsoft SQLServer columns and table names can have spaces. by jashatton
2
by jashatton
DBUnit - Users
James Depaul/Denver/IBM is out of the office. by jdepaul
0
by jdepaul
DBUnit - Users
Re : dbunit-user Digest, Vol 19, Issue 9 by Sébastien LE CALLONN...
0
by Sébastien LE CALLONN...
DBUnit - Users
Re: dbunit-user Digest, Vol 19, Issue 9 by Arnaud Brunet-2
0
by Arnaud Brunet-2
DBUnit - Users
Re : DataSourceDatabaseTester skip schema information by Sébastien LE CALLONN...
0
by Sébastien LE CALLONN...
DBUnit - Users
DBUnit deleting correct records by lightbulb432
0
by lightbulb432
DBUnit - Users
DataSourceDatabaseTester skip schema information by Arnaud Brunet-2
0
by Arnaud Brunet-2
DBUnit - Users
issue executing the ANT DBUnit task with XLS format by Mario Rodriguez-2
0
by Mario Rodriguez-2
DBUnit - Users
Handling Recursive Tables by drippy
0
by drippy
DBUnit - Users
dbunit and sybase by mmistroni
3
by John Hurst-2
DBUnit - Users
DBUnit Data "Disappearing" During TestNG Test by Neil Chaudhuri
1
by John Hurst-2
DBUnit - Users
Upload archive to Nabble? by Dave Syer
0
by Dave Syer
DBUnit - Users
1 ... 13141516