I confirm that the steps provided by Ricardo (on 2011-05-13) are working fine for Ubuntu 11.04. Just that you would need to install phpunit using apt-get in the end, once again.
For convenience, the steps again below:
sudo apt-get remove phpunit sudo pear channel-discover pear.phpunit.de sudo pear channel-discover pear.symfony-project.com sudo pear channel-discover components.ez.no sudo pear update-channels sudo pear upgrade-all sudo pear install --alldeps phpunit/PHPUnit sudo apt-get install phpunit
I confirm that the steps provided by Ricardo (on 2011-05-13) are working fine for Ubuntu 11.04. Just that you would need to install phpunit using apt-get in the end, once again.
For convenience, the steps again below:
sudo apt-get remove phpunit project. com
sudo pear channel-discover pear.phpunit.de
sudo pear channel-discover pear.symfony-
sudo pear channel-discover components.ez.no
sudo pear update-channels
sudo pear upgrade-all
sudo pear install --alldeps phpunit/PHPUnit
sudo apt-get install phpunit