开发者

PHPUnit doesn't install an executable script

开发者 https://www.devze.com 2023-03-25 06:31 出处:网络
So I installed PHPUnit using PEAR, everything worked fine. The installation showed that everything was installed, and in my /usr/lib/php the PHPUnit folder is filled with the complete library.

So I installed PHPUnit using PEAR, everything worked fine. The installation showed that everything was installed, and in my /usr/lib/php the PHPUnit folder is filled with the complete library.

However, I can't find the phpunit.sh anywhere. Where is it l开发者_StackOverflowocated? If I try to run phpunit on CLI, it doesn't find the command, so it can't be anywhere in the "standard"-binary folders like /usr/local/bin.

Do I have to download the script myself? Maybe even compile it myself?

PS: I'm running on OS X 10.6


Run

$ pear list phpunit/phpunit
...
script /usr/bin/phpunit
...

that's your executable script. No .sh appended.

PHPUnit is pure PHP, no need to compile anything.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号