Skip to content

Commit 849b63a

Browse files
rolavericvojtajina
authored andcommitted
Update windows scripts to use Testacular
1 parent 8af0035 commit 849b63a

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

scripts/e2e-test.bat

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ REM Windows script for running e2e tests
44
REM You have to run server and capture some browser first
55
REM
66
REM Requirements:
7-
REM - Java (http://www.java.com)
7+
REM - NodeJS (http://nodejs.org/)
8+
REM - Testacular (npm install -g testacular)
89

910
set BASE_DIR=%~dp0
10-
testacular start "%BASE_DIR%\..\config\testacular-e2e.conf.js"
11+
testacular start "%BASE_DIR%\..\config\testacular-e2e.conf.js" %*

scripts/test.bat

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,8 @@ REM Windows script for running unit tests
44
REM You have to run server and capture some browser first
55
REM
66
REM Requirements:
7-
REM - Java (http://www.java.com)
7+
REM - NodeJS (http://nodejs.org/)
8+
REM - Testacular (npm install -g testacular)
89

910
set BASE_DIR=%~dp0
10-
11-
java -jar "%BASE_DIR%\..\test\lib\jstestdriver\JsTestDriver.jar" ^
12-
--config "%BASE_DIR%\..\config\jsTestDriver.conf" ^
13-
--basePath "%BASE_DIR%\.." ^
14-
--tests all
11+
testacular start "%BASE_DIR%\..\config\testacular.conf.js" %*

0 commit comments

Comments
 (0)