gradle / test-retry-gradle-plugin

Gradle plugin to retry tests that have failed to mitigate test flakiness.
Apache License 2.0
228 stars 51 forks source link

Use it with gradle,but it doesn't work #124

Closed Yuanshandai closed 2 years ago

Yuanshandai commented 2 years ago

test { retry { maxRetries = 5 maxFailures = 20 failOnPassedAfterRetry = true } testLogging.showStandardStreams = false maxParallelForks = 6 } image

image

This is my config,but retry is grey. When I execute the test cases,I think the config is doesn't work well. It has still failed test cases and I don't see the wrong test cases repeated,Looking forward to recovery

marcphilipp commented 2 years ago

Gradle's HTML report isn't yet aware of retries. If you click on one of the classes you should be able to see retried executions. Could you please share a build scan?

Yuanshandai commented 2 years ago

Thank you for your reply. The problem has been solved~