質問

I installed PHPUnit using phar, as described here, http://phpunit.de/manual/3.8/en/installation.html

When I execute phpunit --version it works fine. When I try to execute a test however, it gives me the following error:

PHP Warning: require(PHPUnit/Autoload.php): failed to open stream: No such file or directory in (blah, blah, blah)...

The phar is installed in /usr/local/bin (as recommended), and I added this path to the include_path in the php.ini for the cli.

Any ideas?

役に立ちましたか?

解決

I backed out and installed using PEAR. This got the result I was looking for, but doesn't really answer the question.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top