Skip to content

Commit

Permalink
Gradle TestKit seems to have added support for JaCoCo in the meantime
Browse files Browse the repository at this point in the history
At least I get coverage for class TrustStoreBuildPlugin. See #3.
  • Loading branch information
chkpnt committed Apr 13, 2020
1 parent 6272ced commit 3b22a23
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions gradle/qa.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,6 @@ jacocoTestReport {
xml.enabled = true
html.enabled = true
}

// Gradle's Test-Kit doesn't support JaCoCo right now.
// This feature is targeted in Milestone 4:
// https://github.com/gradle/gradle/blob/master/design-docs/testing-toolkit.md
// I'm excluding the corresponding test, until this feature is available.
// afterEvaluate {
// classDirectories = files(classDirectories.files.collect {
// fileTree(dir: it, exclude: '**/TrustStoreBuilderPlugin*.class')
// })
// }
}

check.dependsOn jacocoTestReport
Expand Down

0 comments on commit 3b22a23

Please sign in to comment.