Quantcast
Viewing latest article 20
Browse Latest Browse All 39

Use rspec-retry gem to retry failed tests up to 3 times.

Specially useful for intermittent failures in acceptance test. Selenium in particular sometimes fails with a Net::ReadTimeout error caused by a bug in selenium itself, usually retrying makes the test pass.

Viewing latest article 20
Browse Latest Browse All 39

Trending Articles