NoRedInk/rspec-retry

Retry everything

mrothenbuhler opened this issue · 1 comments

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

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.