Skip to content

Instantly share code, notes, and snippets.

Forked from JamieMason/run_e2e_tests
Last active August 29, 2015 14:10
What would you like to do?
# Runs our end to end tests in casperjs.
# Run this script as follows from the project root;
# bin/run_e2e_tests
printf "\e[93m > SEARCHING FOR TEST FILES \033[0m \n"
find "$PWD" -iname "*.e2e.spec.js" -type f -print0 | while read -d '' -r file; do
"$PWD/node_modules/casperjs/bin/casperjs" test "$file"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment