useJUnitPlatform + show_testing_output option
This commit is contained in:
parent
4cf81e171c
commit
a91692ded7
2 changed files with 7 additions and 0 deletions
|
@ -247,9 +247,15 @@ compileTestJava {
|
|||
}
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
javaLauncher.set(javaToolchains.launcherFor {
|
||||
languageVersion = JavaLanguageVersion.of(8)
|
||||
})
|
||||
if (propertyBool('show_testing_output')) {
|
||||
testLogging {
|
||||
showStandardStreams = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
String parserChangelog() {
|
||||
|
|
|
@ -11,6 +11,7 @@ generate_javadocs_jar = false
|
|||
|
||||
# Testing
|
||||
enable_junit_testing = true
|
||||
show_testing_output = false
|
||||
|
||||
# Mod Information
|
||||
# HIGHLY RECOMMEND complying with SemVer for mod_version: https://semver.org/
|
||||
|
|
Loading…
Reference in a new issue