Posts

Showing posts from June, 2014

PHPUnit 4 on Windows 7

Download phpunit.phar from - http://phpunit.de/ Find your php bin directory. In my case it is: C:\Program Files (x86)\Zend\ZendServer\bin Add this directory to your path. In the same php bin directory create .bat file with the following content: @ECHO OFF set PHP_BIN=php.exe set FILE_PATH="C:\path\to\phpunit_phar_file\phpunit.phar" %PHP_BIN% %FILE_PATH% %* Done. phpunit will be available from any location.