Skip to content

Instantly share code, notes, and snippets.

@jeffbcross
Created December 9, 2013 22:51
Show Gist options
  • Save jeffbcross/7882524 to your computer and use it in GitHub Desktop.
Save jeffbcross/7882524 to your computer and use it in GitHub Desktop.
angular-sites/test.sh
#!/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