Identifying randomly failing tests with RSpec bisect
When you have tests that sometimes pass but also sometimes fail, it’s often because one of your supposedly independent tests isn’t tearing down properly. Manual debugging could take hours – but rspec --bisect
can help narrow down the cause really quickly. https://medium.com/@scottm/find-the-cause-of-randomly-failing-tests-with-rspec-bisect-dfe9ee2a70c2
Post a comment