aboutsummaryrefslogtreecommitdiffstats
path: root/alias-angular/scripts/e2e-test-server.sh
diff options
context:
space:
mode:
Diffstat (limited to 'alias-angular/scripts/e2e-test-server.sh')
-rwxr-xr-xalias-angular/scripts/e2e-test-server.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/alias-angular/scripts/e2e-test-server.sh b/alias-angular/scripts/e2e-test-server.sh
new file mode 100755
index 0000000..5a4e04c
--- /dev/null
+++ b/alias-angular/scripts/e2e-test-server.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+BASE_DIR=`dirname $0`
+PORT=9877
+
+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-scenario.conf" \
+ --basePath "$BASE_DIR/.."