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 ... 6789101112 ... 16
Topics (552)
Replies Last Post Views Sub Forum
DbUnit 2.4.5 : problem with a dataset having one table used differently by christophe blin
0
by christophe blin
DBUnit - Users
DbUnit 2.4.5 : problem with a dataset having one table used differently by christophe blin
0
by christophe blin
DBUnit - Users
NPE when using DatabaseSequenceFilter, QueryDataSet and ForwardOnlyResultSetTableFactory on Oracle by Justin Florentine
1
by Matthias Gommeringer
DBUnit - Users
how do i use database schemas? by Rusty Wright-2
0
by Rusty Wright-2
DBUnit - Users
sequence table management by Rusty Wright-2
8
by Rusty Wright-2
DBUnit - Users
Missing configuration possibilities in DBUnit? by TheStijn
5
by Matthias Gommeringer
DBUnit - Users
error with driverClass by robyp
1
by Matthias Gommeringer
DBUnit - Users
MySQL connection problem following DBUnit FAQ Java Program Example by Andrew Wilkie
5
by Andrew Wilkie
DBUnit - Users
(no subject) by robyp
2
by Luiz Eduardo Guida V...
DBUnit - Users
How to xml-code a hibernate one-to-one? by TheStijn
11
by TheStijn
DBUnit - Users
Re: dbunit-user Digest, Vol 38, Issue 24 by Patrick Kaeding-2
0
by Patrick Kaeding-2
DBUnit - Users
Did not find column 'MYCOL' for <schema.table> 'MYSCHEMA .MYTABLE' in catalog 'MYDB' because names do not exactly match. by Patrick Kaeding-2
2
by Loïc Lacombe-2
DBUnit - Users
oracle schema with multiple tables by Zdeněk Vráblík-3
2
by Gopal Patwa
DBUnit - Users
Re: DBUnit on Sybase Views by MALou
1
by Matthias Gommeringer
DBUnit - Users
assert on Schema Tables Definition and add columns and new tables using Junit by robyp
1
by John Hurst-2
DBUnit - Users
Re: dbunit-user Digest, Vol 38, Issue 16 by Gerardo Albela Gonzá...
0
by Gerardo Albela Gonzá...
DBUnit - Users
Dynamic content on DbUnit tests by Gerardo Albela Gonzá...
1
by Dave S-B
DBUnit - Users
Comparing binary column by Shaer, Ofira
1
by Luiz Eduardo Guida V...
DBUnit - Users
Re: NoSuchTableException by Matthias Gommeringer
0
by Matthias Gommeringer
DBUnit - Users
Extending org.dbunit.operation.UpdateOperation by JV1JFMh5
2
by krishnan.1000
DBUnit - Users
Oracle Unique Constraint Error w/ DbUnit by HarleyGuy
4
by HarleyGuy
DBUnit - Users
NoSuchTableException by Alexander Okunevich
12
by Karl Jóhann Pálsson
DBUnit - Users
List of Database Supported Incomplete by HarleyGuy
1
by Matthias Gommeringer
DBUnit - Users
Specialised SQL Statements by Dave Sunerton-Burl
1
by Davis Ford-2
DBUnit - Users
subsection of dependent tables? by Karl Jóhann Pálsson
5
by Karl Jóhann Pálsson
DBUnit - Users
DBunit performance - Here is my code by amir asaraf
3
by amir asaraf
DBUnit - Users
DatabaseOperation on Multiple Databases by Gary Summers-2
1
by Matthias Gommeringer
DBUnit - Users
How to write unit test for the code using Oracle Object Types? by Rakesh Gupta-4
2
by Roberto Lo Giacco-4
DBUnit - Users
Re: dbunit-user Digest, Vol 37, Issue 16 by Rakesh Gupta-4
1
by Roberto Lo Giacco-4
DBUnit - Users
dbunit Question! by Rakesh Gupta-4
1
by Matthias Gommeringer
DBUnit - Users
Handle select statment with DBunit by ARobert
0
by ARobert
DBUnit - Users
Exception on org.dbunit.ext.mssql.InsertIdentityOperation.CLEAN_INSERT by Loïc Lacombe-2
2
by Loïc Lacombe-2
DBUnit - Users
DefaultDataSet / AbstractDataSet by Mike Kienenberger
0
by Mike Kienenberger
DBUnit - Users
Is there any way to use loaded data set as instead of the database? by urir
0
by urir
DBUnit - Users
The cost of constraints when loading image from xml by amir asaraf
0
by amir asaraf
DBUnit - Users
1 ... 6789101112 ... 16