Added windows .bat equivalents to .sh scripts for running tests
parent
b5d47bc2a4
commit
393d5e9bc5
@ -0,0 +1,13 @@
|
||||
set base_dir=%~p0
|
||||
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%/.."
|
||||
|
@ -0,0 +1,10 @@
|
||||
set base_dir=%~p0
|
||||
|
||||
set tests=%1
|
||||
if "%tests%" == "" set tests="all"
|
||||
|
||||
java -jar "%base_dir%/../test/lib/jstestdriver/JsTestDriver.jar" ^
|
||||
--config "%base_dir%/../config/jsTestDriver.conf" ^
|
||||
--basePath "%base_dir%/.." ^
|
||||
--tests "%tests%"
|
||||
|
Reference in New Issue