Created
December 9, 2013 22:51
-
-
Save jeffbcross/7882524 to your computer and use it in GitHub Desktop.
angular-sites/test.sh
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
#!/bin/bash | |
./node_modules/.bin/webdriver-manager update | |
./node_modules/.bin/webdriver-manager start | |
# ^ need to wait 5s and continue with running other scripts, | |
# then kill the process | |
./node_modules/.bin/protractor protractorConf.js | |
code1=$? | |
echo "code1" | |
echo $code1 | |
./node_modules/jasmine-node/bin/jasmine-node test/urltests --noColor | |
code2=$? | |
echo "code2" | |
echo $code2 | |
exit $((code1 + code2)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment