Files
sterivein/run-tests.sh
Julien Chanseaume a6cc31db23 changed some paths
2014-08-11 14:36:25 +02:00

15 lines
444 B
Bash
Executable File

#/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
export DISPLAY=:99.0
pwd
ls -la
./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/"