igorw/phpunit-phar — Issue #1: Failed to open PHPUnit/Autoload.php
Author: edorian
Created: 2011-11-29 10:38:08+00:00
State: open

He igorw,

thanks a bunch for taking the time to tackle this issue :)

I've run and used the phar on a system where phpunit was installed and it worked well there but then, for testing, i moved it to a system where no phpunit was every installed and i got:

php phpunit.phar

Fatal error: require(): Failed opening required 'PHPUnit/Autoload.php' (include_path='/home/edo/phpunit/bankaccount/phpunit:/home/edo/phpunit/bankaccount/dbunit:/home/edo/phpunit/bankaccount/php-file-iterator:/home/edo/phpunit/bankaccount/php-text-template:/home/edo/phpunit/bankaccount/php-code-coverage:/home/edo/phpunit/bankaccount/php-token-stream:/home/edo/phpunit/bankaccount/php-timer:/home/edo/phpunit/bankaccount/phpunit-mock-objects:/home/edo/phpunit/bankaccount/phpunit-selenium:/home/edo/phpunit/bankaccount/phpunit-story:/home/edo/phpunit/bankaccount/php-invoker:.:/usr/local/lib/php') in /home/edo/phpunit/bankaccount/phpunit.phar on line 18

so i can't really say if everything is working out on the other machine as it uses mostly the phpunit files from the system.

Am i doing it wrong?