DEV Community

Discussion on: Ruby Segmentation Fault When Running RSpec

Collapse
 
tamouse profile image
Tamara Temple

rspec bisect is so very cool. let's say running in CI, you had some failures, and you want to find out if they happen to be order-dependent, or if there's a root of something failing. You pass the test command, with the seed the tests were run with and the --bisect command, and rspec will find the minimal set of tests that need to run in order to reproduce the set of failures; hopefully winnowing down where the actual failure is coming from! Definitely a useful part of the rspec toolbelt