- Go to C:\inetpub\wwwroot\zurmo\app\protected\tests\unit from the command line
- Run phpunit –verbose TestSuite.php All (remember two dashes before the verbose)
already complete the step 8
PhpUnit PhpUnit is based on PEAR package, so it is important to update PEAR package first. Assuming xampp is installed to C:\xampp- Open a command prompt and go to C:\xampp\php
- Type “pear upgrade pear”
- Type “pear update-channels” (updates channel definitions)
- Type “pear upgrade” (upgrades all existing packages and pear)
- Type “pear channel-discover components.ez.no” (this is needed for PHPUnit)
- Type “pear channel-discover pear.symfony-project.com” (also needed by PHPUnit)
- Type “pear channel-discover pear.phpunit.de” (This IS phpunit)
- Type “pear install –alldeps phpunit/PHPUnit” (installs PHPUnit and all dependencies)
- Type “pear upgrade phpunit/PHPUnit” (upgrade phpunit to recent version)
- Restart your computer! .










