-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation: show how to rerun failed tests #2578
Comments
peter has already mentioned it here i++ will make it continues loop without break; ideally you would want to run it once |
@sadiqkassamali |
i am doing this this way.
|
|
thanks for letting me know appreciate it, i stand corrected |
@ericdriggs I would probably do:
|
@sturose If you want a single retry |
I'm not sure I follow. I'm just saying that instead of doing
it reads a bit cleaner to do
They are functionality equivalent. |
tagging @bischoffdev since he maintains https://github.com/trivago/cluecumber - that supports generating reports for karate runs. I saw a recent update that improves support for when tests are re-tried - and perhaps Benjamin you have some experience with re-trying failed tests in karate ... |
Purpose: documentation for rerunning failed tests
Use case: large suites of api tests with downstream service dependencies on other services have a high probability of failure. Option to rerun failed tests can make test management orders of magnitude easier and can be useful for distinguishing between logical errors and race conditions.
see:
Code examples
The text was updated successfully, but these errors were encountered: