Skip to content

Tools for data(base)-driven testing

Tool Mature Description Comment
[DbUnit http://www.dbunit.org/] (/) puts your database into a known state between test run \ export and import your database data to and from XML datasets Does not support table creation!
[Unitils http://unitils.sourceforge.net] Unitils provides general assertion utilities, support for database testing, support for testing with mock objects and offers integration with Spring, Hibernate and the Java Persistence API (JPA).
[Testaco http://testaco.org] Data driven testing: testing the application configuration // Evolving the data model through refactoring Only MySQL is currently supported
[DDLUtils http://db.apache.org/ddlutils/] (x) component for working with Database Definition (DDL) files
[SqlUnit http://sqlunit.sourceforge.net/] Unit Testing Stored Procedures
[Liquibase http://www.liquibase.org] tracking, managing and applying database changes
[Jailer http://jailer.sourceforge.net/] Jailer is a tool for database subsetting and sampling, schema browsing, and rendering. It exports consistent, referentially intact row-sets from relational databases.
JavaZone2010 presentation