diff --git a/build.gradle b/build.gradle index c85d1f3..0800341 100644 --- a/build.gradle +++ b/build.gradle @@ -18,6 +18,11 @@ test { useJUnitPlatform { excludeTags 'integration' } + testLogging { + events "passed", "skipped", "failed", "standardOut", "standardError" + exceptionFormat "full" // shows full stack trace + showStandardStreams = true // shows println/log output + } } tasks.register('integrationTestOnly', Test) { @@ -26,6 +31,11 @@ tasks.register('integrationTestOnly', Test) { } description = 'Runs only integration tests tagged with @Tag("integration")' group = 'verification' + testLogging { + events "passed", "skipped", "failed" + exceptionFormat "full" + showStandardStreams = true + } } repositories {