Closed Ivan-Masli-GDP closed 9 years ago
I can not give you a general answer. It depends really on your project set up.
May be I can give you a hint for your use case.
spring-test-dbunit have a different approach. It give you the whole DbUnit functionality support to compare and validate the database result after a test run. With this you can load complete a previous saved database, but this fit not complete to Flyway style. In this case you will setup our database with Flyway than take a snapshot of your database with dbunit and use this snaphot in your test. This must always be done with each schema migration!
Conclusion
If I use Springtestdbunit (https://github.com/springtestdbunit/spring-test-dbunit) on my Unit tests, should I use flyway-dbunit-test or flyway-spring-test ?