RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in