$ phpunit sample_test.class.php PHP Warning: require_once(PHP/CodeCoverage/Filter.php): failed to open stream: No such file or directory in /usr/bin/phpunit on line 38 PHP Fatal error: require_once(): Failed opening required 'PHP/CodeCoverage/Filter.php' (include_path='.:/usr/share/php5:/usr/share/php') in /usr/bin/phpunit on line 38 after installing dev-php5/PEAR-PHP_CodeCoverage the error changes in $ phpunit sample_test.class.php PHP Warning: require_once(PHP/Timer.php): failed to open stream: No such file or directory in /usr/share/php5/PHPUnit/Framework/TestResult.php on line 47 PHP Fatal error: require_once(): Failed opening required 'PHP/Timer.php' (include_path='.:/usr/share/php5:/usr/share/php') in /usr/share/php5/PHPUnit/Framework/TestResult.php on line 47 so also dev-php5/PEAR-PHP_Timer is needed. In short dev-php5/PEAR-PHP_Timer and dev-php5/PEAR-PHP_CodeCoverage need to be added as dependencies of dev-php5/phpunit-3.5.0 Reproducible: Always Steps to Reproduce:
I misread USE minimal configuration on my system, I thought it was on but it was down, so sorry for the noise. Anyway phpunit, with minimal flag enabled seems not to be functional
(In reply to comment #1) > I misread USE minimal configuration on my system, I thought it was on but it > was down, so sorry for the noise. > > Anyway phpunit, with minimal flag enabled seems not to be functional > Agree with you there. Did some cleanup of the dependencies and removed the minimal USE flag so that all deps are always installed.