1.2 is a breaking change only compatible with Spring 4. For Spring < 4 users, please use 1.1.x.
spring-dbunit provides DBUnit add-ons for Spring.
It allows you to easily insert and cleanup test data into the database of your choice.
Use cases examples :
- "pseudo" unit tests on a DAO layer, with an in-memory database like HSQLDB or H2 and a schema automatically created with Hibernate hibernate.hbm2ddl.auto=create-drop.
- GUI integration tests with Selenium, with a persistent database and an existing schema.
- application prototype development, with data reloaded on application startup
Have a look at the Wiki for modules documentation :
See Maven Wiki page.
See Milestones