Skip to content

Commit

Permalink
Merge branch 'master' into perf-test
Browse files Browse the repository at this point in the history
  • Loading branch information
TharmiganK authored Jan 8, 2025
2 parents bb34b12 + b58e52d commit 28745f6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions compiler-plugin-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,17 @@ test {
useTestNG()
finalizedBy jacocoTestReport
testLogging.showStandardStreams = true
testLogging {
events "PASSED", "FAILED", "SKIPPED"
afterSuite { desc, result ->
if (!desc.parent) { // will match the outermost suite
def output = "Results: ${result.resultType} (${result.testCount} tests, ${result.successfulTestCount} successes, ${result.failedTestCount} failures, ${result.skippedTestCount} skipped)"
def startItem = '| ', endItem = ' |'
def repeatLength = startItem.length() + output.length() + endItem.length()
println('\n' + ('-' * repeatLength) + '\n' + startItem + output + endItem + '\n' + ('-' * repeatLength))
}
}
}
}

jacocoTestReport {
Expand Down

0 comments on commit 28745f6

Please sign in to comment.