Skip to content
Snippets Groups Projects

Draft: Resolve "Add coverage"

Closed René Schöne requested to merge 29-add-coverage into dev
3 files
+ 34
1
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -22,6 +22,7 @@ plugins {
id 'idea'
id 'com.github.ben-manes.versions' version '0.36.0'
id 'com.google.protobuf' version "0.8.14"
id 'jacoco'
}
apply plugin: 'jastadd'
@@ -83,6 +84,17 @@ protobuf {
}
}
jacocoTestReport {
executionData tasks.withType(Test).findAll { it.state.executed }
getExecutionData().setFrom(fileTree(buildDir).include("/jacoco/*.exec"))
reports {
xml.enabled true
xml.destination(file("${jacoco.reportsDir}/all-tests/jacocoAllTestReport.xml"))
html.enabled false
}
}
task allTests(type: Test, dependsOn: testClasses) {
description = 'Run every test'
group = 'verification'
Loading