DATAREDIS-311 - Add test summary output to the build.
This commit is contained in:
@@ -238,6 +238,12 @@ tasks.withType(Test) {
|
||||
|
||||
testLogging {
|
||||
exceptionFormat = 'full'
|
||||
|
||||
afterSuite { desc, result ->
|
||||
if (!desc.parent) { // will match the outermost suite
|
||||
println "Test Summary: ${result.resultType} (${result.testCount} tests, ${result.successfulTestCount} successes, ${result.failedTestCount} failures, ${result.skippedTestCount} skipped)"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user