2020-05-19 23:40:25 +02:00
|
|
|
|
|
|
|
dependencies {
|
2023-11-22 15:25:11 +01:00
|
|
|
testImplementation testLibs.junit.jupiter.api
|
|
|
|
testImplementation testLibs.junit.jupiter.params
|
|
|
|
testImplementation testLibs.hamcrest
|
|
|
|
testRuntimeOnly testLibs.junit.jupiter.engine
|
2020-05-19 23:40:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
2021-04-27 00:22:38 +02:00
|
|
|
failFast = false
|
2020-05-19 23:40:25 +02:00
|
|
|
testLogging {
|
|
|
|
events 'STARTED', 'PASSED', 'FAILED', 'SKIPPED'
|
|
|
|
}
|
|
|
|
afterSuite { desc, result ->
|
|
|
|
if (!desc.parent) {
|
|
|
|
println "\nTest result: ${result.resultType}"
|
|
|
|
println "Test summary: ${result.testCount} tests, " +
|
|
|
|
"${result.successfulTestCount} succeeded, " +
|
|
|
|
"${result.failedTestCount} failed, " +
|
|
|
|
"${result.skippedTestCount} skipped"
|
|
|
|
}
|
|
|
|
}
|
2022-10-13 20:50:32 +02:00
|
|
|
jvmArgs '-Xmx2048m'
|
2022-10-13 17:51:01 +02:00
|
|
|
systemProperty 'java.util.logging.config.file', 'src/test/resources/logging.properties'
|
2020-05-19 23:40:25 +02:00
|
|
|
}
|