make a uniq script to execute phpunit and casperjs
This commit is contained in:
11
run-tests.sh
Executable file
11
run-tests.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#/usr/bin/env/sh
|
||||
|
||||
# will exit with non-zero error code if any of the command fails
|
||||
set -e
|
||||
|
||||
echo "phpunit"
|
||||
phpunit
|
||||
|
||||
echo "CasperJS"
|
||||
cd ../casperjs
|
||||
"DISPLAY=:99.0 ./bin/casperjs test ../thelia/tests/functionnal/casperjs/exe/front/ --pre=../thelia/tests/functionnal/casperjs/conf/local.js --verbose --thelia2_base_url='http://localhost:8000/index.php/' --thelia2_screenshot_path='../thelia/tests/functionnal/casperjs/screenshot/'"
|
||||
Reference in New Issue
Block a user