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 ... 45678910 ... 16
Topics (552)
Replies Last Post Views Sub Forum
TypeCastException while inserting GIS-Data (SDO_GEOMETRY, Oracle9i) - now readable text version by Peter Marquardt-3
0
by Peter Marquardt-3
DBUnit - Users
TypeCastException while inserting GIS-Data (SDO_GEOMETRY, Oracle9i) by Peter Marquardt-3
0
by Peter Marquardt-3
DBUnit - Users
Strange Schema name using MySQL by AtomicRobotMonster
2
by AtomicRobotMonster
DBUnit - Users
JPA: foreign key references table that isn't an entity by Robert Mark
1
by Karl Jóhann Pálsson
DBUnit - Users
Column not being filled from FlatXmlDataSet? by Eric Schrag
2
by Roberto Lo Giacco-4
DBUnit - Users
Dbunit and Slf4j by Sri123
10
by Roberto Lo Giacco-4
DBUnit - Users
Corrected table name message in dbunit by Joshua Daniel-2
1
by Matthias Gommeringer
DBUnit - Users
working without table-ordering.txt ? by Benoitx
1
by Matthias Gommeringer
DBUnit - Users
Re: Undelivered Mail Returned to Sender by Matthias Gommeringer
0
by Matthias Gommeringer
DBUnit - Users
Could not retrieve the 'isAutoIncrement' property by EDHEDH
1
by Matthias Gommeringer
DBUnit - Users
Dbunit NoSuchTableException by Sri123
8
by Matthias Gommeringer
DBUnit - Users
DbUnit, Spring 2.5.6, Hibernate, TestNG: loading dataset in same txn as testmethods ? by EDHEDH
0
by EDHEDH
DBUnit - Users
Parallel executing of service layer methods ? by EDHEDH
1
by John Hurst-2
DBUnit - Users
DbUnit: huge dataset support by EDHEDH
3
by Roberto Lo Giacco-4
DBUnit - Users
Best way to include expected CSV results in test jar? by Benoitx
8
by Benoitx
DBUnit - Users
DbUnit: time dependent test data by EDHEDH
6
by Jeff Jensen-2
DBUnit - Users
Importing XML error by Vashe
1
by Matthias Gommeringer
DBUnit - Users
Exporting DB2 database tables to XML file using ANT by Vashe
4
by Vashe
DBUnit - Users
JdbcDatabaseTester and DatabaseConfig by djantzen
4
by Roberto Lo Giacco-4
DBUnit - Users
Invalid XML character by Shaer, Ofira
0
by Shaer, Ofira
DBUnit - Users
MySQL and views by me tk82c
4
by me tk82c
DBUnit - Users
map related data in FlatXmlDataSet by Aiman Najjar
0
by Aiman Najjar
DBUnit - Users
DbUnit and slf4j by Mark Boon
2
by augy
DBUnit - Users
Basic question about comparison by Shaer, Ofira
5
by Jeff Jensen-2
DBUnit - Users
Exception when having "#" in the column name name by Mike Wong
2
by Mike Wong
DBUnit - Users
Re: MySQL binary data by Matthias Gommeringer
2
by Matthias Gommeringer
DBUnit - Users
MySQL binary data by Thomson, Alisa
0
by Thomson, Alisa
DBUnit - Users
DTD What for? by Mark Spezzano-4
1
by Roberto Lo Giacco-4
DBUnit - Users
Need Help by vishnu sharma-2
4
by casey lucas
DBUnit - Users
Problem: com.microsoft.jdbc.base.BaseDatabaseMetaData.getDatabaseMajorVersion() by Oli Tree
4
by Oli Tree
DBUnit - Users
DBUnit and VIEWS by turfman
1
by Matthias Gommeringer
DBUnit - Users
dbunit and database views by turfman
0
by turfman
DBUnit - Users
dbunit and database views by turfman
0
by turfman
DBUnit - Users
CLEAN_INSERT with MSSQL by bokc bokc
2
by bokc bokc
DBUnit - Users
How to exclude some rows in tables, and only compare the row in expected Table like includedColumnsTable by Feng Xuemin
1
by Matthias Gommeringer
DBUnit - Users
1 ... 45678910 ... 16