Skip to content

Commit

Permalink
Carry through report separation from previous code example.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmuschko committed Oct 10, 2015
1 parent 465a31a commit 62e7fb1
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -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')
Expand All @@ -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
}
Expand Down

0 comments on commit 62e7fb1

Please sign in to comment.