Skip to content

Commit a46917a

Browse files
committed
feature: print full stack trace if a test fails
Signed-off-by: Victor Rubezhny <[email protected]>
1 parent e3082a2 commit a46917a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,13 @@ tasks {
150150
withType<Test> {
151151
useJUnitPlatform()
152152
jvmArgs("-Dnet.bytebuddy.experimental=true", "-Dmockk.agent.global=false")
153+
testLogging {
154+
events("skipped", "failed", "standardOut", "standardError")
155+
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
156+
showExceptions = true
157+
showCauses = true
158+
showStackTraces = true
159+
}
153160
}
154161
}
155162

0 commit comments

Comments
 (0)