springtestdbunit / spring-test-dbunit

Integration between the Spring testing framework and DBUnit
http://springtestdbunit.github.com/spring-test-dbunit/
Apache License 2.0
476 stars 238 forks source link

Implement Ordered or use @Order #127

Open davidkarlsen opened 7 years ago

davidkarlsen commented 7 years ago

I'd suggest implementing Ordered or use @Ordered in order (pun intended) to order it after the TransactionalTestExecutionListener and then it's more smooth to use with the default test executionlisteners:

https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/test/context/TestExecutionListeners.MergeMode.html#MERGE_WITH_DEFAULTS