Files
Phraseanet/tests/js/run.sh
2013-06-13 14:03:55 +02:00

14 lines
516 B
Bash
Executable File

#!/bin/bash
BASEDIR=$(dirname $0)
ROOTDIR="$BASEDIR/../.."
# run qunit tests
phantomjs "$ROOTDIR/www/assets/qunit/addons/phantomjs/runner.js" "$ROOTDIR/www/include/js/tests/jquery.Upload.js.html"
phantomjs "$ROOTDIR/www/assets/qunit/addons/phantomjs/runner.js" "$ROOTDIR/www/include/js/tests/jquery.Edit.js.html"
phantomjs "$ROOTDIR/www/assets/qunit/addons/phantomjs/runner.js" "$ROOTDIR/www/include/js/tests/jquery.Selection.js.html"
# run backbone tests
mocha-phantomjs "$ROOTDIR/www/scripts/tests/index.html"