I have project on Symfony 2 and i would like use PHPUNIT on Windows 7.
On githut phpunit is:
Composer
Simply add a dependency on phpunit/phpunit to your proje
I also came across the same issue and find out the solution by following steps
To run PHPUnit in Windows 7 under WAMP installation
Composer Install
{ "require-dev": { "phpunit/phpunit": "3.7.*" } }
Simply Set Environment Variable The php unit will be install in a vendor dir in vendor/bin
Path : C:\wamp\www\myproject\vendor\bin;
Open a new Command Prompt C:\Users\guny >phpunit --version PHPUnit 3.7.30 by Sebastain Bergmann