From: Gustavo Martin Morcuende Date: Mon, 23 Jan 2017 08:02:30 +0000 (+0100) Subject: Do not fail if not found integration tests X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=d051b8b37ca7f1eec326a3085955550eadd33dca;p=JavaForFun Do not fail if not found integration tests --- diff --git a/SpringJava/Gradle/build-integTest.gradle b/SpringJava/Gradle/build-integTest.gradle index 177e2ed..e4c69fd 100644 --- a/SpringJava/Gradle/build-integTest.gradle +++ b/SpringJava/Gradle/build-integTest.gradle @@ -31,9 +31,12 @@ task integTest(type: Test) { classpath = sourceSets.integTest.runtimeClasspath reports.junitXml.destination = "${buildDir}/test-results/test" + + // explicitly include or exclude tests filter { includeTestsMatching "*IntegrationShould" + failOnNoMatchingTests = false } testLogging {