我在Ubuntu 12.04中安裝了Zend框架。當我嘗試創建一個新的項目中使用的命令zf create project zf_test
它給這個錯誤:Zend框架安裝錯誤
Testing Note: PHPUnit was not found in your include_path, therefore no testing actions will be created.
我需要知道的是,消息,以及如何解決這個問題。
我在Ubuntu 12.04中安裝了Zend框架。當我嘗試創建一個新的項目中使用的命令zf create project zf_test
它給這個錯誤:Zend框架安裝錯誤
Testing Note: PHPUnit was not found in your include_path, therefore no testing actions will be created.
我需要知道的是,消息,以及如何解決這個問題。
可能您需要在您的系統中安裝PHPUnit。請按照這個教程(這是爲Ubuntu的11.04,但它也適用於更高版本)http://www.giocc.com/installing-phpunit-on-ubuntu-11-04-natty-narwhal.html
謝謝tashicoder – ehp
@EululHaque如果答案適合您,最好接受答案。 –
這不是編程問題... –
是否有必要問只有編程問題。我在提問有關編程工具或環境的問題時看不到任何問題。 – ehp
如果您不打算使用** PHPUnit **編寫測試,請忽略它。否則,安裝並配置PHPUnit。 _FYI_ PHPUnit是用於編寫針對PHP的單元測試的默認測試庫。這對你來說意味着_Zend_Tool_不會爲_/tests_目錄中的應用程序自動生成測試存根。 – RockyFord