Package org.flywaydb.test
package org.flywaydb.test
Flyway test extension for unit testing.
Description how to use Flyway anotation see javadoc
of
FlywayTest
Notes:
- I suggest to use spring framework version >= 3.x, for better test support and usage of context access. If you must use spring 2.5.6 see the following hints.
- If you using spring framework version lower than 3.x the
annotation
FlywayTestwont work at class level. - For spring framework version 2.5.6 use simple_applicationContext_spring256.xml as application context example
- If you using the annotation
FlywayTestmore than one time in test classes than do not use parallel execution in surefire plugin. With this option you will setup your database in more than one thread parallel!
-
ClassesClassDescriptionSimple helper for the TestExecutionListenerHelper factory for Flyway creation and support for setting the flyway.properties and configure flyway with
Flyway#configure(java.util.Properties).Spring test execution listener to get annotationFlywayTestup and running