olamy opened a new pull request, #3595: URL: https://github.com/apache/maven-surefire/pull/3595
With -Dsurefire.runLastFailed (or -Dfailsafe.runLastFailed) the plugin reads the XML reports of the previous run and only runs the tests that failed or had an error. Classes that never finished because the last run stopped early (fork crash, timeout, Maven killed) run again too, which also helps with #2258. If nothing failed, no tests run. If there are no reports yet, all tests run. The test parameter, includes and excludes still apply. A small hidden file next to the reports directory tells whether the last run finished. Signed-off-by: Olivier Lamy <[email protected]> <!-- Add your description here... what, why and how you resolve the issue --> --- To make clear that you license your contribution under the [Apache License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0) check one of the following: - [ ] I hereby declare this contribution to be licensed under the [Apache License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0) - [ ] I hereby declare that I have filed an [Apache Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). -- 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]
