Skip to content

Instantly share code, notes, and snippets.

@h3h h3h/gist:321336
Created Mar 4, 2010

What would you like to do?
bash aliases for running test/spec tests
# 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
You can’t perform that action at this time.