File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change 1+ import org.gradle.api.tasks.testing.logging.TestExceptionFormat
2+ import org.gradle.api.tasks.testing.logging.TestLogEvent
3+
14plugins {
25 id(" java" )
3- id( " checkstyle" )
6+ checkstyle
47 jacoco
58}
69
@@ -12,14 +15,24 @@ repositories {
1215}
1316
1417dependencies {
15- testImplementation(platform(" org.junit:junit-bom:5.10.0" ))
16- testImplementation(" org.junit.jupiter:junit-jupiter" )
17- testRuntimeOnly (" org.junit.jupiter:junit-jupiter-engine:5.10.0" )
18+ testImplementation(platform(" org.junit:junit-bom:5.10.3" ))
19+ testImplementation(" org.junit.jupiter:junit-jupiter:5.10.3" )
20+ testImplementation(" org.assertj:assertj-core:3.26.3" )
21+
1822 implementation(" com.puppycrawl.tools:checkstyle:10.17.0" )
1923}
2024
25+ checkstyle {
26+ toolVersion = " 10.17.0"
27+ }
28+
2129tasks.test {
2230 useJUnitPlatform()
31+ testLogging {
32+ exceptionFormat = TestExceptionFormat .FULL
33+ events = mutableSetOf (TestLogEvent .FAILED , TestLogEvent .PASSED , TestLogEvent .SKIPPED )
34+ showStandardStreams = true
35+ }
2336}
2437
2538tasks.jacocoTestReport {
You can’t perform that action at this time.
0 commit comments