For example in testsuite if we have 5 tests.While executing the test suite if 2 tests are failed.
In test suite after executing this 5 tests instead of ending the testsuite/test execution.Is there is any code to verify if any of the tests in the testsuite are failed, if failed try to rerun only the failed tests and then end the test suite execution.
Thanks,
.
is this what you're looking for?
https://maven.apache.org/surefire/maven-surefire-plugin/examples/rerun-failing-tests.html