added test failure logging
SonarQube Analysis / Build and Analyze (pull_request) Failing after 2m20s
SonarQube Analysis / Build and Analyze (pull_request) Failing after 2m20s
This commit is contained in:
@@ -65,3 +65,16 @@ tasks.withType<JavaCompile> {
|
||||
tasks.withType<Test> {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
tasks.withType<Test> {
|
||||
useJUnitPlatform()
|
||||
|
||||
// log exact test failures, standard out, and errors in CI
|
||||
testLogging {
|
||||
events("failed", "standardError")
|
||||
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
|
||||
showExceptions = true
|
||||
showCauses = true
|
||||
showStackTraces = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user