Search code examples
phpphpunit

PHPUnit Autoload - No such file or directory


Install:

pear install --alldeps pear.phpunit.de/PHPUnit

After manipulation broken uninstall Reinstalling does not help.

/usr/share/pear$ pear uninstall phpunit/PHPUnit
uninstall ok: channel://pear.phpunit.de/PHPUnit-4.0.9

but, you still see after installation Autoload.php file still does not appear (((

 Fatal error: main(): Failed opening required 'PHPUnit/Autoload.php' (include_path='.:/usr/bin:/usr/share/pear:/usr/share/pear/PEAR')

I do not understand how to get to work through phpunit.phar therefore tried to install via pear and even overthrown files directly from GitHub developer.

'm Confused.


Solution

  • run only CLI, not from web .....