avolkmann
03/20/2019, 10:26 AMzpearce
03/20/2019, 2:19 PMBeforeEachCallback
and AfterEachCallback
. In the beforeEach method you do something like TransactionManager.manager.newTransaction()
and in the afterEach you do
override fun afterEach(context: ExtensionContext?) {
with(TransactionManager.current()) {
rollback()
closeExecutedStatements()
close()
}
}
avolkmann
03/20/2019, 7:32 PM