[英]PHPUnit on Netbeans no tests executed
我正在嘗試PHPUnit在我的Netbeans 8.0.2上工作。 我正在使用Ubuntu 14.04 LTS。
我遵循了以下文檔: https : //netbeans.org/kb/docs/php/phpunit.html
我已經安裝了phpunit及其骨架生成器,並一直執行到步驟5。但是,當我嘗試對其進行測試時,該測試將無法運行。 它總是說“沒有執行測試”。 “可能發生錯誤,請在“輸出窗口”中進行驗證。” 我檢查了輸出窗口,它顯示了這一點:
"/usr/bin/php" "/usr/local/bin/phpunit" "--colors" "--log-junit" "/tmp/nb-phpunit-log.xml" "/usr/local/netbeans-8.0.2/php/phpunit/NetBeansSuite.php" "--run=/var/www/html/calculator/tests/calculatorTest.php"
PHPUnit 4.8.5 by Sebastian Bergmann and contributors.
unrecognized option --run
Done.
我想念什么嗎?
如果可以,請返回PHPUnit 4.7。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.