diff --git a/backend/build.gradle.kts b/backend/build.gradle.kts index 6dc1f07..a5f6052 100644 --- a/backend/build.gradle.kts +++ b/backend/build.gradle.kts @@ -65,3 +65,16 @@ tasks.withType { tasks.withType { useJUnitPlatform() } + +tasks.withType { + 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 + } +}