-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
testlogger extension settings not working for 3.1.0 #246
Comments
I think this and #252 are duplicates. Are you also configuring |
Yes, also in build.gradle, just below testLogger. The full build.gradle file can be found here if you want to check it out. // Information on how to configure at https://github.com/radarsh/gradle-test-logger-plugin
testlogger {
theme 'standard-parallel'
showFullStackTraces true
showPassedStandardStreams false
}
test {
useJUnitPlatform()
testLogging {
// https://docs.gradle.org/6.9/userguide/performance.html#suggestions_for_java_projects
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
}
} Regarding the two issues being duplicates, I'm not seeing output twice or anything, and I'm only having issues in 3.1.0, everything is working perfectly in 3.0.0. |
Thanks, that was useful. Can you add test {
useJUnitPlatform()
testLogging {
// https://docs.gradle.org/6.9/userguide/performance.html#suggestions_for_java_projects
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
+ showStandardStreams = false
}
} Up until 3.0.0, I used to reset any logging events set on the |
Before adding After adding As a sidenote, I've noticed that between 3.0.0 and 3.1.0 the tests appear different too:
3.1.0:
|
Tested in 4.0.0, still appears broken. |
Description
After updating to version 3.1.0, the settings in the testlogger extension stopped working. Written below is the settings i currently use, at the root project level in
build.gradle
. In version 3.0.0,showPassedStandardStreams false
hides the standard out for passed unit tests, but upon upgrading to version 3.1.0, the standard out reappeared for passing tests. I have tried with other settings such asshowPassed false
, which had the same result of only successfully hiding passed tests in version 3.0.0.Versions
Type of test being run
JUnit 4.13.2
Test logger configuration
The text was updated successfully, but these errors were encountered: