Skip to content

Commit ca536ab

Browse files
committed
Test with more verbose logging
1 parent 94a2432 commit ca536ab

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

build.gradle

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
2-
import org.gradle.api.tasks.testing.logging.TestLogEvent
3-
41
plugins {
52
id 'java'
63
id "maven-publish"
@@ -191,14 +188,14 @@ subprojects {
191188
tasks.withType(Test) {
192189
testLogging {
193190
// set options for log level LIFECYCLE
194-
events TestLogEvent.FAILED,
195-
TestLogEvent.PASSED,
196-
TestLogEvent.SKIPPED,
197-
TestLogEvent.STANDARD_OUT
198-
exceptionFormat TestExceptionFormat.FULL
199-
showExceptions true
200-
showCauses true
201-
showStackTraces true
191+
events "passed", "skipped", "failed", "standardOut", "standardError"
192+
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
193+
showCauses = true
194+
showExceptions = true
195+
showStackTraces = true
196+
showStandardStreams = true
197+
198+
outputs.upToDateWhen { false }
202199

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

0 commit comments

Comments
 (0)