Skip to content

Instantly share code, notes, and snippets.

@calas
Created October 21, 2009 15:05
Show Gist options
  • Save calas/215169 to your computer and use it in GitHub Desktop.
Save calas/215169 to your computer and use it in GitHub Desktop.
Using git bisect in spree core
So...
$ rake test:functionals
It show the tests fails
I pick a commit that is not failing: f0c49b5213b974b97dcb7a1d089264708329ebcd
and...
git bisect start
git bisect bad
git bisect good f0c49b5213b974b97dcb7a1d089264708329ebcd
git bisect run ./tester.sh
More info: http://www.kernel.org/pub/software/scm/git/docs/git-bisect.html
#!/bin/bash
/usr/bin/env rake db:bootstrap AUTO_ACCEPT=true && /usr/bin/env rake test:functionals
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment