Tomas Romero
Tomas Romero

Reputation: 8718

Make Grails Geb tests transactional

I need my Geb tests to be transactional (to rollback at the end of each test), how can I achieve that?

I tried 'static transactional = true' and the @Transactional annotation in both class and methods and it doesn't work.

P.D.: My tests extends from GebReportingSpec.

Upvotes: 2

Views: 244

Answers (1)

Tomas Romero
Tomas Romero

Reputation: 8718

Apparently this is technically impossible:

https://jira.codehaus.org/browse/GEB-238

Upvotes: 2

Related Questions