Edit the count and exception format of the logging

This commit is contained in:
Burak Kaygusuz
2021-04-03 10:14:17 +03:00
parent d2d5dc8156
commit ea465e026c

View File

@@ -61,8 +61,8 @@ test {
if (!desc.parent)
println("${result.resultType} " +
"(${result.testCount} tests, " +
"${result.successfulTestCount} successes, " +
"${result.failedTestCount} failures, " +
"${result.successfulTestCount} passed, " +
"${result.failedTestCount} failed, " +
"${result.skippedTestCount} skipped)")
}
}
@@ -74,7 +74,7 @@ tasks.withType(Test) {
TestLogEvent.SKIPPED,
TestLogEvent.STANDARD_ERROR,
TestLogEvent.STANDARD_OUT)
testLogging.exceptionFormat TestExceptionFormat.FULL
testLogging.exceptionFormat TestExceptionFormat.SHORT
testLogging.showCauses true
testLogging.showExceptions true
testLogging.showStackTraces true