cucumber / godog

Cucumber for golang
MIT License
2.3k stars 251 forks source link

Retry failed tests automatically after the execution #497

Open harikamankala opened 2 years ago

harikamankala commented 2 years ago

It would be really helpful if we have a feature to rerun the failed tests. It is common to fail one or other test when there are thousands of tests running in parallel. There can be multiple reasons for failure like network slowness, overloaded server. Rerun option is also provided by other tools for example ctest -> https://cmake.org/cmake/help/v3.17/manual/ctest.1.html ( --repeat until-pass:n ) maven-surefire-plugin -> https://maven.apache.org/surefire/maven-surefire-plugin/examples/rerun-failing-tests.html

I have also seen recently in here https://github.com/cucumber-rs/cucumber/issues/212

It would be really helpful, if you consider this. Thank you :)

harikamankala commented 1 week ago

Any updates on this please.