Background
We are able to run .feature
files in parallel, using teymyers Cucumber Parallel
plugin. This creates a java file for each .feature
file, for example, Parallel01IT.java, Parallel02IT.java ... ...
Question: How can run I re-run/retry these ParallexxIT.java files if fails?
There is nothing that comes to me that I can try. I could found few links in SO for Karate Cucumber, Ruby Cucumber but not on Serenity Cucumber.
"-p", "rerun:target/cucumber/rerun.txt"
. This will generate cucumber rerun file which has line numbers of failed scenarios."@target/cucumber-reports/rerun.txt"
If you are using cucumber options [I am not sure but I guess this was planned for deprecation] via junit runner then do as below.
Fresh run :
Rerun :