This content has been marked as final.
Show 3 replies
-
1. Re: Arquillian Transaction Extension
aslak Nov 6, 2012 10:46 AM (in response to tomjenkinson)No quickstarts yet.
Currently the Transaction Extension doesn't do much within the scope of testing special transaction cases, it's only a Declarative API (similar to @TransactionManagement) that binds a TransactionProvider's lifecycle to the Test lifecycle. e.g.
@Test @Transactional(manager = "MyManager", value = TransactionMode.Commit) public shouldDoSomething() {}
This will lookup "MyManager" from the TransactionProvider SPI and execute commit after Test is executed. Similar there is Rollback and Disabled TransactionModes.
We did find a silly bug in Alpha2 which cause the TransactionProvider to not to work inside a container, but working on fixing that now and hopefully Alpha3 will be out today/tomorrow.
Would love to have your feedback on other possible usecases/spis etc for Transactional behavior.
-
2. Re: Arquillian Transaction Extension
tomjenkinson Nov 6, 2012 10:57 AM (in response to aslak)Thanks Aslak!
-