task integTest(type: Test) {
// dependsOn startApp
// finalizedBy stopApp
+ description = 'Runs integration tests';
+ group = 'verification';
testClassesDir = sourceSets.integTest.output.classesDir
classpath = sourceSets.integTest.runtimeClasspath
// mustRunAfter test
}
-
integTest.doFirst {
// It is required in order to run data bases in random ports.
// We need it for running tests from IDE and from command console but
removeContainers = true
buildBeforeUp = false
}
+
+project.tasks.check.dependsOn(integTest)