我在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