e8c28eb239
Added basic configuration, so all you need to run e2e tests: 1/ start web server in project root >> ./scripts/web-server.js 2/ start JsTD server >> ./scripts/e2e-test-server.sh 3/ capture some browser navigate to http://localhost:9877/capture 4/ run the tests >> ./scripts/e2e-test.sh
19 lines
542 B
Batchfile
19 lines
542 B
Batchfile
@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%\.."
|