aboutsummaryrefslogtreecommitdiffstats
path: root/alias-angular/scripts/e2e-test-server.bat
diff options
context:
space:
mode:
Diffstat (limited to 'alias-angular/scripts/e2e-test-server.bat')
-rw-r--r--alias-angular/scripts/e2e-test-server.bat18
1 files changed, 18 insertions, 0 deletions
diff --git a/alias-angular/scripts/e2e-test-server.bat b/alias-angular/scripts/e2e-test-server.bat
new file mode 100644
index 0000000..f857b0d
--- /dev/null
+++ b/alias-angular/scripts/e2e-test-server.bat
@@ -0,0 +1,18 @@
+@echo off
+
+REM Windows script for starting JSTD server
+REM
+REM Requirements:
+REM - Java (http://www.java.com)
+
+set BASE_DIR=%~dp0
+set 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%\.."