gradle-test-logger-plugin
gradle-test-logger-plugin copied to clipboard
showOnlySlow also blocks the display of unit test failures
Description
I am trying to configure this to show the following:
- passed tests but only ones that are slow
- skipped tests
- failed tests
Here is my configuration
testlogger {
theme 'standard'
showExceptions true
showStackTraces true
showFullStackTraces false
showCauses true
slowThreshold 2000
showSummary true
showSimpleNames true
showPassed true
showSkipped true
showFailed true
showOnlySlow true
showStandardStreams false
showPassedStandardStreams true
showSkippedStandardStreams true
showFailedStandardStreams true
logLevel 'lifecycle'
}
However when I set showOnlySlow to true, it does only show the slow ones and stops showing my failures. I have to be able to see which tests are failing. What I really need is showOnlySlowPassed or something equivalent.
Is there a way to do that?
Looks like this got brought up in the merge request:
https://github.com/radarsh/gradle-test-logger-plugin/pull/207#issuecomment-996864599
I don't think it was fixed before it was merged.