org.flywaydb.test.package-info Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flyway-spring-test Show documentation
Show all versions of flyway-spring-test Show documentation
Implementation test support for Flyway based on springframework.
Work together with Junit4, Junit5 or TestNG.
The newest version!
/**
* Copyright (C) 2011-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Flyway test extension for unit testing.
*
* Description how to use Flyway anotation see javadoc
* of {@link org.flywaydb.test.annotation.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 {@link 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
* {@link 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!
*
*
*/
package org.flywaydb.test;
© 2015 - 2024 Weber Informatics LLC | Privacy Policy