The Source for Java Technology Collaboration


Home | Help | Changes | Index | Search | Go

Testing Databases

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.



Discussion about TestingDatabases

Topic TestingDatabases . { Edit | Ref-By | Printable | Diffs r1 | More }
 XML java.net RSS

Revision r1 - 09 Apr 2008 - 18:56:13 - Main.robogeek
Parents: WebHome > Testing