About DbUnit

DbUnit is a JUnit extension (also usable with Ant) targeted at 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 also work with very large datasets when used in streaming mode. DbUnit can also help you to verify that your database data match an expected set of values.

News

2012-09-30 DbUnit project team is proud to deliver the new 2.4.9 release: please have a look at the changes report for the release contents.
2010-08-31 DbUnit project team is proud to deliver the new 2.4.8 release: please have a look at the changes report for the release contents.
2009-11-09 DbUnit project team is proud to deliver the new 2.4.7 release: please have a look at the changes report for the release contents.
2009-10-09 We wish to welcome Jeff Jensen as a DbUnit developer, the project team is growing!
2009-09-24 Another member joined the DbUnit project developers group: welcome John Hurst!
2009-09-20 Your contributions has led us to cut a new release: DbUnit 2.4.6 is out. Here a detailed changes report.
2009-05-23 Another bugfixing release has been cut: DbUnit 2.4.5 is out. Here a detailed changes report.
2009-02-24 We are proud to announce the 2.4.4 release has been cut. Here a detailed changes report.
2009-01-20 Development continues to go on, fixes and a additions have been contributed and a new 2.4.3 release has been cut. Here a detailed changes report.
2008-12-17 Some other fixes and a additions have been released in dbunit-2.4.2. Here a detailed changes report.
2008-12-15 Another Open Source blog name search project has added support for the DbUnit flat XML dataset file format. The integration provided by the Jailer project allows easy data sharing between the two projects. Well done Ralf!
2008-12-03 Previous version introduced a bug on Oracle-based tests, so we are proud to announce a quick new version (2.4.1) that fixes it. More information in the changes.
2008-11-27 DbUnit development is very active and is proud to announce the 2.4.0 release! Here are the changes.
2008-09-11 We all are so proud to announce the 2.3.0 release is finally out! Have a look at the changes.
2008-06-08 Matthias Gommeringer joined the project team. Welcome Matthias!
2008-05-23 Well another bug fixing release is out: 2.2.3 fixes some annoing bugs! Please see changes.
2008-05-05 Release 2.2.2 is out and fixes some annoing bugs! Please see changes.
2008-03-19 Wiki is back.... again!
2008-03-18 Release 2.2.1 is finally out!!! See changes.
2008-03-12 Sébastien Le Callonnec joined the project team.
2008-02-29 Release 2.2.1 is on it's first steps. Snapshot release available on DbUnit Snapshots Maven Repo.
2007-12-01 Roberto Lo Giacco joined the project team.
2006-12-28 Version 2.2 finally released!!!. See changes.
2006-12-20 Wiki is back!.
2006-05-28 Build has been ported to Maven 2 and snapshots for the 2.2 release are available in the repository.
2006-02-04 Felipe Leme joined the DbUnit developement team.
2005-08-19 Website Updated! Link to wiki has been removed. Many fixes in CVS for 2.2-dev, see changes.
2004-05-31 Version 2.1 released. Multiple bugfixes and enhancements. See changes.
2004-04-28 DeveloperWorks article: Control your test-environement with DbUnit and Anthill.
2004-03-16 The DbUnit Wiki is now officially online. Please contribute to the SupportedRDBMS page.
2004-01-26
2004-01-22 Version 2.0 released. See changes.
2003-10-05 Version 1.5.6 released. See changes.
2003-07-16 Federico Spinazzi joined the DbUnit developement team.
2003-07-16 Version 1.5.5 released. See changes.
2003-04-04 Version 1.5.1 released. See changes.
2003-03-01 Version 1.5 released. See changes.
2002-11-07 Eric Pugh joined the DbUnit developement team.
2002-07-17 The java API documentation is now available online.
2002-07-17 Version 1.4 released. See changes.
2002-05-10 Timothy Ruppert and Ben Cox joined the DbUnit developement team.
2002-04-04 Version 1.3 released. See changes.
2002-04-04 New website design software and logo
2002-03-19 Version 1.2.4 released. See changes.
2002-03-15 Version 1.2 released. See changes.
2002-03-10 Version 1.1 released. See changes.
2002-02-27 Version 1.0 released. This is the first public release.