使phpunit与zend framework2配合工作

4
我正在完成Zend Framework2教程,目前到了最后一步(phpunit运行):http://framework.zend.com/manual/2.1/en/user-guide/unit-testing.html。 我在composer.json文件中添加了“phpunit/phpunit”: “3.7.*”,并更新了它,然后它似乎已经安装到了我的项目的“Vendor”目录中。 现在该如何使用呢?我在Mac上。我在这个部分:最后,cd到zf-tutorial/module/Application/test/,然后运行phpunit。由于我没有将phpunit安装到$PATH中,我应该使用哪个文件作为可执行文件呢?非常感谢任何帮助。 这是我的文件夹结构。 enter image description here
1个回答

2

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接