Skip to content

Commit

Permalink
it coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
hongkailiu committed Jun 3, 2016
1 parent b4c2b00 commit e0fa0a3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jacocoTestReport {
html.enabled = true
html.destination "${buildDir}/jacocoHtml"
}
executionData = files('build/jacoco/jacocoTest.exec', 'build/jacoco/test.exec')
}

configurations {
Expand Down Expand Up @@ -76,6 +77,11 @@ task wrapper(type: Wrapper) {
}

task integrationTest(type: Test) {
jacoco {
destinationFile = file("$buildDir/jacoco/jacocoTest.exec")
classDumpFile = file("$buildDir/classes/integrationTest")
}

testClassesDir = sourceSets.integrationTest.output.classesDir
classpath = sourceSets.integrationTest.runtimeClasspath
outputs.upToDateWhen { false }
Expand Down

0 comments on commit e0fa0a3

Please sign in to comment.