Getting PHPUnit running on a Windows machine.
# Get latest version of PEAR
pear upgrade pear
# Install PHP Unit with PEAR
pear channel-discover pear.phpunit.de
pear channel-discover components.ez.no
pear channel-discover pear.symfony-project.com
#These have to be done only once.
# Now the PEAR Installer can be used to install packages from the PHPUnit channel:
pear install phpunit/PHPUnit