PHPUnit/Installation

To install via pear (http://pear.php.net):

$ pear channel-discover pear.phpunit.de
$ pear install phpunit/PHPUnit

Xdebug extension

http://xdebug.org

To do code-coverage analysis, you need to install:

$ pecl install xdebug-beta

Also need to add this line to your php.ini (change path to the correct one):

zend_extension="/usr/local/php/modules/xdebug.so"


Retrieved from "http://aboutus.com/index.php?title=PHPUnit/Installation&oldid=5373887"