Skip to content

Commit

Permalink
fix(test): set jacoco excludes for engine-test's unitTest and integra…
Browse files Browse the repository at this point in the history
…tionTest tasks

upgrade to jacoco 0.8.8 (from 0.8.5)

relates to #4985
  • Loading branch information
keturn committed May 13, 2022
1 parent 789b392 commit d4a8b22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 2 additions & 5 deletions config/gradle/common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,11 @@ test {
dependsOn rootProject.extractNatives
}

jacoco {
excludes = ["org.terasology.protobuf.*",
"*MethodAccess","*FieldAccess"]
}
jacoco.excludes = ["org.terasology.protobuf.*", "*MethodAccess", "*FieldAccess"]
}

jacoco {
toolVersion = "0.8.5"
toolVersion = "0.8.8"
}

jacocoTestReport {
Expand Down
4 changes: 4 additions & 0 deletions engine-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ task unitTest(type: Test) {
excludeTags "MteTest", "TteTest"
}
systemProperty("junit.jupiter.execution.timeout.default", "1m")

jacoco.excludes = ["org.terasology.protobuf.*", "*MethodAccess", "*FieldAccess"]
}

task integrationTest(type: Test) {
Expand All @@ -121,6 +123,8 @@ task integrationTest(type: Test) {
includeTags "MteTest", "TteTest"
}
systemProperty("junit.jupiter.execution.timeout.default", "5m")

jacoco.excludes = ["org.terasology.protobuf.*", "*MethodAccess", "*FieldAccess"]
}

idea {
Expand Down

0 comments on commit d4a8b22

Please sign in to comment.