Created
March 4, 2010 02:35
-
-
Save h3h/321336 to your computer and use it in GitHub Desktop.
bash aliases for running test/spec tests
This file contains 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
# test/spec test runner | |
function ts() | |
{ | |
ruby $1 -r s 2>/dev/null | grep -v "^HelperTestCase" | grep -v "dummy (e" | |
} | |
# test/spec test runner (with test name) | |
function tsn() | |
{ | |
ruby $1 -r s -n "/$2/" 2>/dev/null | grep -v "^HelperTestCase" | grep -v "dummy (e" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment