git bisect start
git bisect good <commit-where-stuff-is-working>
git bisect bad <commit-where-stuff-is-not-working>
git
will continue to run your Cucumber feature until they don't pass. Narrowing down to the commit which broke things.
git bisect run bundle exec cucumber features/a-feature.feature
When finished, reset your branch to the previous state before git bisect
.
git bisect reset
Also works nicely with Rspec and Capybara![:godmode: :godmode:](https://github.githubassets.com/images/icons/emoji/godmode.png)
git bisect run bundle exec rspec spec/features/global-thermonuclear-war.rb