Getting PHPUnit running on a Windows machine.

# Get latest version of PEAR 
pear upgrade pear

# Install PHP Unit with PEAR
pear channel-discover
pear channel-discover
pear channel-discover 
#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