useJUnitPlatform + show_testing_output option

This commit is contained in:
Rongmario 2024-04-27 00:48:57 +01:00
parent 4cf81e171c
commit a91692ded7
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 0FCCA305CE62BA7C
2 changed files with 7 additions and 0 deletions

View file

@ -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() {

View file

@ -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/