-- rerun failed scenarios
I found a lot of articles about rerun the failed tests but none of them satisfies my needs. The closest solution I found is here. But I am not quite sure about this solution. Especially because of order and parallel runs.
I would like to rerun failed scenario immediately when it fails. So the first question is if it is possible. It sounds like clean straightforward use case but I cant not find any documentation to it.
I found also this article which mention --retry flag but the link to documentation returnss error 521. So I would like to know where I could find something about --retry flag.
Thanks for any help I am little lost in it for now.
Here's an issue in the cucumber-jvm repo: https://github.com/cucumber/cucumber-jvm/issues/1706
It seems there is a possibility using Surefire.
It also links to a PR which may have more info about that too.