From 1ac50166d68bbbd5059ee21c25d08e151f16262b Mon Sep 17 00:00:00 2001 From: Ziggy Date: Sun, 4 Feb 2024 16:14:32 +0100 Subject: [PATCH] Adjusted Gradle settings, so exceptions are printed in case of test failures, so we can see the assertion messages --- build.gradle.kts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 474c61d32..20d4c4b5b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,3 +1,6 @@ +import org.gradle.api.tasks.testing.logging.TestExceptionFormat +import org.gradle.api.tasks.testing.logging.TestLogEvent + /*********************************************************************************** * Copyright (c) 2023 /// Project SWG /// www.projectswg.com * * * @@ -154,4 +157,9 @@ tasks.create("runClientdataConversion") { tasks.withType().configureEach { useJUnitPlatform() + + testLogging { + events = setOf(TestLogEvent.FAILED, TestLogEvent.SKIPPED) + exceptionFormat = TestExceptionFormat.FULL + } }