I have a test class that extends AbstractTransactionalDataSourceSpringContextTests.
I did not write this class, and need to make a small change. I'd like to see what would happen if i prevented the recreation of the test database (using DbUnit) after each test.
I have tried playing with the following lines:
@Override
protected void onSetUpBeforeTransaction() throws Exception {
initialisingTables.create("Init");
}
@Override
protected void onTearDownAfterTransaction() throws Exception {
deleteTables(true);
deleteTables(false);
}
But nothing seems to help.