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 topics
- BuildingDbUnit - Detailed instructions to build DbUnit
- SupportedRDBMS - List of supported RDBMS with comments from various users. Add yours!
- DbUnitFaq - Errata, precisions or additions to the official DbUnit FAQ
- ChangesSinceLastRelease - Changes available from the CVS repository
- DbUnitSupport
- BestPractices
DatabaseTesting topics
- NDbUnit - A .NET database unit testing framework
- MockObjects
- MockTestingVsRealDatabaseTesting?
Testing topics
- JUnit
- BuildingDbUnit
- BestPractices
- ChangesSinceLastRelease
- Db2DataTypeFactory
- DataTypeFactory
- DatabaseTesting
- DbUnitSupport
- DbUnit
- DbUnitFaq
- HypersonicSQL
- IbmDB2
- InterBase
- MsSqlDataTypeFactory
- ManuelLaflamme
- MikeKienenberger
- MockObjects
- MsSQL
- MySqlDataTypeFactory
- NDbUnit - A .NET database unit testing framework
- OneDatabasePerDeveloper
- OpenBase8
- OracleDataTypeFactory
- OracleDatabase
- PendingDbUnitFaq
- PostgreSQL
- RecentChanges
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 dataase data match expected set of values…