jeudi 11 août 2016

Disable arquillian cleanup

I Have a Bean that creates some default user in DB. In an Arquillian test I need to make test cases with @UsingDataSet. One of tests should check if Users created by this bean exist but the created users are dropped after tests.

How can I disable Cleanup on Arquillian tests? I tried @Cleanup(phase = TestExecutionPhase.NONE) but with no effects.

Aucun commentaire:

Enregistrer un commentaire