diff --git a/backend/build.gradle b/backend/build.gradle index 199494d41..c1a4bef6d 100644 --- a/backend/build.gradle +++ b/backend/build.gradle @@ -1,3 +1,5 @@ +import org.gradle.api.tasks.testing.logging.TestExceptionFormat + // --------------- Plugins --------------- plugins { @@ -72,7 +74,7 @@ dependencies { implementation slf4jDependency // https://mvnrepository.com/artifact/commons-io/commons-io - implementation group: 'commons-io', name: 'commons-io', version: '2.16.1' + implementation group: 'commons-io', name: 'commons-io', version: '2.17.0' // https://mvnrepository.com/artifact/com.sparkjava/spark-core implementation group: 'com.sparkjava', name: 'spark-core', version: '2.9.4' @@ -139,6 +141,12 @@ String getDependencyVersion(Configuration config, String group, String name) { } } +test { + testLogging { + exceptionFormat = TestExceptionFormat.FULL + } +} + // --------------- Test Scenarios --------------- def testScenariosDir = file '../frontend/src/assets/examples' diff --git a/backend/src/test/java/org/fulib/webapp/projectzip/ProjectZipControllerTest.java b/backend/src/test/java/org/fulib/webapp/projectzip/ProjectZipControllerTest.java index 34a7ab73d..ece677ceb 100644 --- a/backend/src/test/java/org/fulib/webapp/projectzip/ProjectZipControllerTest.java +++ b/backend/src/test/java/org/fulib/webapp/projectzip/ProjectZipControllerTest.java @@ -57,7 +57,7 @@ public class ProjectZipControllerTest \tfulibScenarios group: 'org.fulib', name: 'fulibScenarios', version: '1.7.1' \t// https://mvnrepository.com/artifact/org.slf4j/slf4j-simple - \tfulibScenarios group: 'org.slf4j', name: 'slf4j-simple', version: '2.0.9' + \tfulibScenarios group: 'org.slf4j', name: 'slf4j-simple', version: '2.0.13' \t// https://mvnrepository.com/artifact/org.fulib/fulibTools \ttestImplementation group: 'org.fulib', name: 'fulibTools', version: '1.6.0' @@ -69,7 +69,7 @@ public class ProjectZipControllerTest \ttestImplementation group: 'junit', name: 'junit', version: '4.13.2' \t// https://mvnrepository.com/artifact/org.slf4j/slf4j-simple - \ttestImplementation group: 'org.slf4j', name: 'slf4j-simple', version: '2.0.9' + \ttestImplementation group: 'org.slf4j', name: 'slf4j-simple', version: '2.0.13' } generateScenarioSource {