Database Rider integrates DBUnit and JUnit in order to make database testing a breeze!

Here are some features:

    @Rule
    public DBUnitRule dbUnitRule = DBUnitRule.instance(jdbcConnection);

    @Test
    @DataSet(value = "datasets/yml/users.yml")
    public void shouldSeedDataSet(){
        //database is seed with users.yml dataset
    }

Documentation

Current version (under development) of documentation can be found here.

Following is documentation for each released version:

Getting Started

An introdutory guide with a sample application can be found here.

Examples

Credits