This repository has been archived on 2020-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
sp4ke.github.com/scripts/e2e-test.bat
Vojta Jina e8c28eb239 Add jstd-scenario-adapter so we can run e2e tests with JsTD
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
2011-06-13 18:31:46 +02:00

14 lines
377 B
Batchfile

@echo off
REM Windows script for running e2e tests
REM You have to run server and capture some browser first
REM
REM Requirements:
REM - Java (http://www.java.com)
set BASE_DIR=%~dp0
java -jar "%BASE_DIR%\..\test\lib\jstestdriver\JsTestDriver.jar" ^
--config "%BASE_DIR%\..\config\jsTestDriver-scenario.conf" ^
--basePath "%BASE_DIR%\.." ^
--tests all --reset