Created
October 21, 2009 15:05
-
-
Save calas/215169 to your computer and use it in GitHub Desktop.
Using git bisect in spree core
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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