Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚安装了PHPUNIT,我正在尝试运行它来测试:
imac001:unit administrator$ phpunit/DbTest.php
但我的结果总是:
-bash:phpunitDbTest.php:找不到命令
有人可以帮我解决这个问题吗?我正在开发Yii应用程序,我正在MAMP上运行它。
如果“phpunit/DbTest.php”是测试路径,命令应该是这样的
phpunit phpunit/DbTest.php