RSpec bisect
❯
I've been using rspec for over a decade to write tests in ruby, and I just learned about the --bisect
option. When executed with this option, rspec repeatedly runs subsets of a suite in order to isolate the minimal set of examples that reproduce the same failures. This can be incredibly useful when working with a particularly flakey spec with a failure case that is difficult to reproduce.