From 62e7fb10cd5588a4ec7336d049c14e9a69998d49 Mon Sep 17 00:00:00 2001 From: Benjamin Muschko Date: Sat, 10 Oct 2015 11:57:17 -0400 Subject: [PATCH] Carry through report separation from previous code example. --- .../repository/build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/chapter07/listing_07_17-18-integration-test-separated/repository/build.gradle b/chapter07/listing_07_17-18-integration-test-separated/repository/build.gradle index 3c90f7b..2b86740 100755 --- a/chapter07/listing_07_17-18-integration-test-separated/repository/build.gradle +++ b/chapter07/listing_07_17-18-integration-test-separated/repository/build.gradle @@ -10,6 +10,11 @@ dependencies { testCompile 'junit:junit:4.11' } +test { + reports.html.destination = file("$reports.html.destination/unit") + reports.junitXml.destination = file("$reports.junitXml.destination/unit") +} + sourceSets { integrationTest { java.srcDir file('src/integTest/java') @@ -24,6 +29,8 @@ task integrationTest(type: Test) { group = 'verification' testClassesDir = sourceSets.integrationTest.output.classesDir classpath = sourceSets.integrationTest.runtimeClasspath + reports.html.destination = file("$reports.html.destination/integration") + reports.junitXml.destination = file("$reports.junitXml.destination/integration") dependsOn startAndPrepareDatabase finalizedBy stopDatabase }