I read that I should be able to run all unit tests on my site with one command, so I created a bat file for this.
Even with a pause to the end, after the phpunit command, the result of testing the modules blinks on the screen.
@echo off
cd c:\
cd xampp
cd htdocs
cd light
cd myworks
echo on
set /p site=The site:
set /p version=The version:
set /p location=The location:
phpunit "%site% v%version%/%location%"
pause
My other batch file with java% folder% /% file% starts java software, then pauses.
@echo off
cd c:\
cd Codes
cd 1st general - Head First Java
echo on
set /p folder=Type a folder:
set /p file=Type a file without extension:
java %folder%/%file%
pause
UPDATE: it is much easier to run unit tests with SimpleTest than with phpUnit.
source
share