Closed gorakshasabnis closed 9 months ago
Duplicate of https://github.com/cucumber/cucumber-jvm/issues/2805
@mpkorstanje is there is any different documention on how exactly to run this class along with '@ suite' ?
For Maven you could use the exec Maven plugin and bind it to the test phase. You would not use the suite in this case, you're programatically running JUnit.
In JUnit 4 failure cases were captured using 'rerun' like below:
Which can be run using below Junit4 runner
Q: However in JUnit5, 'FailedCases.txt' gets generated by mentioning rerun in 'PLUGIN_PROPERTY_NAME'. File gets generated too, but there is no way to execute that file.
Can someone please guide for re-running failed cases using Cucumber JUnit5 ?