The first final release of the Embedded DB JUnit Rule has been released.
It has proven to be a lightweigth tool for testing database logic by using an embedded H2 in-memory database.
Usage
Add dependency
Include the following in your pom:
If you are using SBT, add the following:
Add the EmbeddedDatabaseRule to the test class:
Support for testing Liquibase migrations
Version 1.0 includes support for creating database structures using existing Liquibase changelogs. To set up in your test, use the LiquibaseInitializer.
Feedback
Do you have any questions or suggestions, please report an issue :-).