Does karate support -Dsurefire.rerunFailingTestsCount for re run failed tests in Jenkins

Viewed 110

I am using karate framework for my automated testing project and I am currently using the cucumber report as well.

Now I'm facing an issue with re-run only the failed tests in Jenkins

tried it with -Dsurefire.rerunFailingTestsCount but it doesn't work. Is there any specific config to achieve this.

1 Answers

No this is not directly supported. You could generate the list of tests to re-run by looking at the Results class / data.

Related