Skip to content

Commit

Permalink
Test with more verbose logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dmikurube committed Oct 3, 2023
1 parent 94a2432 commit ca536ab
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import org.gradle.api.tasks.testing.logging.TestLogEvent

plugins {
id 'java'
id "maven-publish"
Expand Down Expand Up @@ -191,14 +188,14 @@ subprojects {
tasks.withType(Test) {
testLogging {
// set options for log level LIFECYCLE
events TestLogEvent.FAILED,
TestLogEvent.PASSED,
TestLogEvent.SKIPPED,
TestLogEvent.STANDARD_OUT
exceptionFormat TestExceptionFormat.FULL
showExceptions true
showCauses true
showStackTraces true
events "passed", "skipped", "failed", "standardOut", "standardError"
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
showCauses = true
showExceptions = true
showStackTraces = true
showStandardStreams = true

outputs.upToDateWhen { false }

afterSuite { desc, result ->
if (!desc.parent) { // will match the outermost suite
Expand Down

0 comments on commit ca536ab

Please sign in to comment.