registration verfication and state fieldset
[angular-drzb] / scripts / test.bat
index 4e25cd1..000242f 100644 (file)
@@ -1,10 +1,11 @@
-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%"
-
+@echo off\r
+\r
+REM Windows script for running unit tests\r
+REM You have to run server and capture some browser first\r
+REM\r
+REM Requirements:\r
+REM - NodeJS (http://nodejs.org/)\r
+REM - Testacular (npm install -g testacular)\r
+\r
+set BASE_DIR=%~dp0\r
+testacular start "%BASE_DIR%\..\config\testacular.conf.js" %*\r