aboutsummaryrefslogtreecommitdiffstats
path: root/alias-angular/scripts/e2e-test-server.sh
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2012-04-02 02:37:41 -0400
committerGuillaume Horel <guillaume.horel@gmail.com>2012-04-02 02:37:41 -0400
commit28a5d4fbf8a42649360e9d1e1206c062e0a5ce8d (patch)
tree0c0842aab6ca8259f14fc9b760eb742098fa1aaa /alias-angular/scripts/e2e-test-server.sh
parent0a74881345b16b39487493364bb0c24f8cc47967 (diff)
downloadalias-28a5d4fbf8a42649360e9d1e1206c062e0a5ce8d.tar.gz
regorg files
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/.."