Skip to content

Instantly share code, notes, and snippets.

@loganhasson
Created May 18, 2015 14:33
Show Gist options
  • Save loganhasson/0dbcdb5e31fcce4fa622 to your computer and use it in GitHub Desktop.
Save loganhasson/0dbcdb5e31fcce4fa622 to your computer and use it in GitHub Desktop.
run an individual cucumber test
#!/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