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 FlywayTest wont 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 FlywayTest more 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!