olamy commented on PR #3595: URL: https://github.com/apache/maven-surefire/pull/3595#issuecomment-6867875185
Related issues: - #1471 (SUREFIRE-1064): the issue this PR implements. - #1961 (SUREFIRE-632): "add a test-failed goal, to only run the tests which failed last time". Same request, closed in 2014 in favour of `rerunFailingTestsCount`. The two don't do the same thing: `rerunFailingTestsCount` retries straight away within the same run, while `runLastFailed` works across runs. - #2258 (SUREFIRE-1433): `rerunFailingTestsCount` doesn't help with crashes. With `runLastFailed`, the classes that didn't finish because a fork crashed or timed out run again in the next build. - #2358 (SUREFIRE-1327): run failed tests in a new fork. `runLastFailed` runs them in a new build, so in a clean fork. - #1837 (SUREFIRE-726): a more general hook to prune the list of tests. This PR only handles the "previously failed" case. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
