From e4836e2962aacab1c97c2a9706a72d6d0ac6b2a8 Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Sun, 30 Apr 2023 00:29:12 +0100 Subject: [PATCH] JAL-629 Only log to console FAILED tests --- build.gradle | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index fd6064e..6a622c3 100644 --- a/build.gradle +++ b/build.gradle @@ -1812,17 +1812,21 @@ tasks.withType(Test).matching {t -> t.getName().startsWith("testTask")}.all { te testTask.mustRunAfter "testTask0" testTask.testLogging { logging -> - events TestLogEvent.FAILED, - TestLogEvent.SKIPPED, - TestLogEvent.STANDARD_OUT, - TestLogEvent.STANDARD_ERROR + events TestLogEvent.FAILED +// TestLogEvent.SKIPPED, +// TestLogEvent.STANDARD_OUT, +// TestLogEvent.STANDARD_ERROR exceptionFormat TestExceptionFormat.FULL showExceptions true showCauses true showStackTraces true + + info.events = [ TestLogEvent.FAILED ] } + + ignoreFailures = true // Always try to run all tests for all modules afterSuite { desc, result -> -- 1.7.10.2