Skip to content

Commit 3542735

Browse files
authored
Merge pull request #6 from embulk/verbose-test-logging
Output verbose test logging
2 parents 1ac0f4e + 87ff7b9 commit 3542735

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

build.gradle

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,20 @@ task release {
4242
}
4343

4444
subprojects {
45+
tasks.withType(Test) {
46+
testLogging {
47+
events "passed", "skipped", "failed", "standardOut", "standardError"
48+
49+
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
50+
showCauses = true
51+
showExceptions = true
52+
showStackTraces = true
53+
showStandardStreams = true
54+
55+
outputs.upToDateWhen { false }
56+
}
57+
}
58+
4559
afterEvaluate { project ->
4660
rootProject.release.dependsOn project.publishMavenPublicationToMavenCentralRepository
4761
}

0 commit comments

Comments
 (0)