I am trying to get phpUnit
running on a centos running plesk pannel.
I have installed phpunit successfully.
Package Version State
File_Iterator 1.3.1 stable
PHPUnit 3.6.10 stable
PHPUnit_MockObject 1.1.1 stable
PHP_CodeCoverage 1.1.2 stable
PHP_Invoker 1.1.0 stable
PHP_Timer 1.0.2 stable
PHP_TokenStream 1.1.3 stable
Text_Template 1.1.1 stable
however whenever i run the phpunit command from the shell i get the following error:
PHP Warning: require_once(File/Iterator/Autoload.php): failed to open stream: No such file or directory in /usr/share/pear/PHPUnit/Autoload.php on line 45
PHP Fatal error: require_once(): Failed opening required 'File/Iterator/Autoload.php' (include_path='.:') in /usr/share/pear/PHPUnit/Autoload.php on line 45
Has anyone a clue how to solve the problem?
pear info phpunit/File_Iterator
say? It looks like it didn't get installed, but PHPUnit depends on it. – David Harkness Feb 24 '12 at 0:47