Commit a8762108 authored by Kevin Stroeher's avatar Kevin Stroeher Committed by Curtis Adam

Update UAC test description

parent b66f5108
......@@ -37,6 +37,11 @@ npm install
Then, you can either run the script one time with ```gulp --gulpfile .gulpfile.js``` or you can watch the directory with ```gulp watch --gulpfile .gulpfile.js```
### Automated User Acceptance Tests
Make sure that the user acceptance tests are working.
For more information about user acceptance tests have a look at tests/HOWTOTEST.md [klick](tests/HOWTOTEST.md).
### Project structure
Since Meteor is supporting ES6 (ES2015) we use the import/export statements to modularize the application.
......
......@@ -29,6 +29,11 @@ failedTestsArray=()
checkDirectory
#######################################
if [ $NODE_ENV -n ] ; then
SERVER_PREFIX='xvfb-run --server-args="-screen 0 1920x1080x16" '
fi
# step through any subdirectory of tests/features and
# - restore meteor database
# - run chimp
......@@ -53,7 +58,7 @@ for testDir in $searchDir; do
# Run chimp
echo -e $GREEN"Running chimp ..." $NC
xvfb-run --server-args="-screen 0 1920x1080x16" chimp --ddp=http://localhost:3000 --path=$testDir $1
$SERVER_PREFIX chimp --ddp=http://localhost:3000 --path=$testDir $1
if [ $? -ne 0 ]; then
failedTests=$((failedTests+1))
failedTestsArray+=("$testDir")
......@@ -74,3 +79,4 @@ for test in $failedTestsArray; do
done
exit $exitVal
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment