aboutsummaryrefslogtreecommitdiffstats
path: root/alias-angular/scripts/test-server.bat
blob: 0b7fa66ebf8b2841438eef5d81d0754c73563c41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@echo off

REM Windows script for starting JSTD server
REM
REM Requirements:
REM - Java (http://www.java.com)

set BASE_DIR=%~dp0
set 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%\.."