Skip to content
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

Retry everything #108

Open
mrothenbuhler opened this issue Dec 4, 2019 · 1 comment
Open

Retry everything #108

mrothenbuhler opened this issue Dec 4, 2019 · 1 comment

Comments

@mrothenbuhler
Copy link

mrothenbuhler commented Dec 4, 2019

Is it possible to put something in spec_helper to automatically retry any test that fails, without this syntax?

it 'should randomly succeed', :retry => 3 do
@ndbroadbent
Copy link

Hi @mrothenbuhler, yes there are some configuration options that allow you to do this:

config.default_retry_count = 2

This will retry any spec failure at least one more time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants