Jacoco configuration for integration tests.
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Fri, 30 Dec 2016 08:52:58 +0000 (09:52 +0100)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Fri, 30 Dec 2016 08:52:58 +0000 (09:52 +0100)
SpringJava/Gradle/spring-jpa-persistence/build-integTest.gradle

index 4b3913d..78b70fd 100644 (file)
@@ -24,6 +24,12 @@ task integTest(type: Test) {
         events "PASSED", "FAILED", "SKIPPED"
     }
 
+    jacoco {
+        append = false
+        destinationFile = file("$buildDir/jacoco/jacoco-it.exec")
+        classDumpFile = file("$buildDir/jacoco/classpathIntegdumps")
+    }
+
     // mustRunAfter test
 }