Add unit tests for AdminCreateOrderCycleCtrl angular controller

This commit is contained in:
Rohan Mitchell
2012-12-05 16:09:20 +11:00
parent 55423d2df1
commit 0a6686b592
12 changed files with 440 additions and 0 deletions

14
script-angular/test-server.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
BASE_DIR=`dirname $0`
PORT=9876
echo "Starting JsTestDriver Server (http://code.google.com/p/js-test-driver/)"
echo "Please open the following url and capture one or more browsers:"
echo "http://localhost:$PORT"
java -jar "$BASE_DIR/../test/lib/jstestdriver/JsTestDriver.jar" \
--port $PORT \
--browserTimeout 20000 \
--config "$BASE_DIR/../config/jsTestDriver.conf" \
--basePath "$BASE_DIR/.."