diff --git a/build.gradle b/build.gradle index 824d9fa..6deb4e1 100644 --- a/build.gradle +++ b/build.gradle @@ -2,6 +2,7 @@ plugins { id 'org.springframework.boot' version '2.6.0' id 'io.spring.dependency-management' version '1.0.11.RELEASE' id 'org.asciidoctor.convert' version '1.5.8' + id "com.adarshr.test-logger" version "3.1.0" id 'java' } @@ -46,6 +47,53 @@ dependencies { test { outputs.dir snippetsDir useJUnitPlatform() + + testlogger { + // pick a theme - mocha, standard, plain, mocha-parallel, standard-parallel or plain-parallel + theme 'standard' + + // set to false to disable detailed failure logs + showExceptions true + + // set to false to hide stack traces + showStackTraces true + + // set to true to remove any filtering applied to stack traces + showFullStackTraces false + + // set to false to hide exception causes + showCauses true + + // set threshold in milliseconds to highlight slow tests + slowThreshold 2000 + + // displays a breakdown of passes, failures and skips along with total duration + showSummary true + + // set to true to see simple class names + showSimpleNames false + + // set to false to hide passed tests + showPassed true + + // set to false to hide skipped tests + showSkipped true + + // set to false to hide failed tests + showFailed true + + // enable to see standard out and error streams inline with the test results + showStandardStreams false + + // set to false to hide passed standard out and error streams + showPassedStandardStreams true + + // set to false to hide skipped standard out and error streams + showSkippedStandardStreams true + + // set to false to hide failed standard out and error streams + showFailedStandardStreams true + } } asciidoctor {