$ sudo apt-get install phpunit
$ phpunit
PHP Warning: require_once(PHP/CodeCoverage/Filter.php): failed to open stream: No such file or directory in /usr/bin/phpunit on line 38
[...]
Workaround from John Faucett worked great, on the condition to update symphony url, as follow:
On Ubuntu 12.04, experienced same issue:
$ sudo apt-get install phpunit once(PHP/ CodeCoverage/ Filter. php): failed to open stream: No such file or directory in /usr/bin/phpunit on line 38
$ phpunit
PHP Warning: require_
[...]
Workaround from John Faucett worked great, on the condition to update symphony url, as follow:
sudo apt-get remove phpunit
sudo apt-get upgrade pear
sudo pear channel-discover pear.phpunit.de
sudo pear channel-discover pear.symfony.com
sudo pear channel-discover components.ez.no
sudo pear update-channels
sudo pear upgrade-all
sudo pear install --alldeps phpunit/PHPUnit