PHPUnit 不安装可执行脚本
所以我使用 PEAR 安装了 PHPUnit,一切正常。安装显示一切都已安装,并且在我的 /usr/lib/php
中,PHPUnit
文件夹中充满了完整的库。
但是,我在任何地方都找不到 phpunit.sh 。它位于哪里?如果我尝试在 CLI 上运行 phpunit,它找不到该命令,因此它不能位于“标准”二进制文件夹中的任何位置,例如 /usr/local/bin< /代码>。
我必须自己下载脚本吗?也许甚至我自己编译它?
PS:我运行的是 OS X 10.6
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 located? 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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
运行
这是您的可执行脚本。没有附加
.sh
。PHPUnit是纯PHP,不需要编译任何东西。
Run
that's your executable script. No
.sh
appended.PHPUnit is pure PHP, no need to compile anything.