Phpunit installation in windows
Please install XAMPP before proceeding to install phpunit.
Install:
1. Open Command prompt in windows.
2. Get inside the php folder present inside xampp.
c:\> cd c:\xampp\php
3. Clear the cache
c:\xampp\php> pear clear-cache
4. Install Phpunit
c:\xampp\php> pear install -a -f phpunit/PHPUnit
UnInstall:
1. Open Command prompt in windows.
2. Get inside the php folder present inside xampp.
c:\> cd c:\xampp\php
3. Uninstall Phpunit
c:\xampp\php> pear uninstall phpunit/PHPUnit