[Solved] Spring + JUnit drop database after each test

If you want to drop the database after each test use this at the class level

@DirtiesContext(classMode=ClassMode.AFTER_EACH_TEST_METHOD)
Advertisements