Skip to content

Commit e86e0ac

Browse files
changed build.gradle.kts
1 parent bb4ded5 commit e86e0ac

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

build.gradle.kts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
2+
import org.gradle.api.tasks.testing.logging.TestLogEvent
3+
14
plugins {
25
checkstyle
36
application
@@ -31,8 +34,17 @@ dependencies {
3134
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
3235
}
3336

34-
tasks.withType<Test> {
37+
tasks.test {
3538
useJUnitPlatform()
39+
testLogging {
40+
exceptionFormat = TestExceptionFormat.FULL
41+
events = setOf(
42+
TestLogEvent.FAILED,
43+
TestLogEvent.PASSED,
44+
TestLogEvent.SKIPPED
45+
)
46+
showStandardStreams = true
47+
}
3648
}
3749

3850
sonar {

0 commit comments

Comments
 (0)