Created
May 18, 2015 14:33
-
-
Save loganhasson/0dbcdb5e31fcce4fa622 to your computer and use it in GitHub Desktop.
run an individual cucumber test
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 | |
# A function to run a specific cucumber feature test | |
# USE: cuke path-to-feature:line | |
function cuke () { | |
if [ -n "$1" ]; then | |
cucumber --require features $1 | |
else | |
echo 'USE: cuke path-to-feature:line' | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment