2013-02-06 56 views
4

我通過了Zend Framework2教程的學習工作,我在這(獲得PHPUnit的運行)的末尾:越來越PHPUnit來與Zend framework2

http://framework.zend.com/manual/2.1/en/user-guide/unit-testing.html

我列入「PHPUnit的/ PHPUnit的「:」3.7。*「放入我的composer.json文件中,更新它,它看起來像安裝到我的項目的」Vendor「目錄中。

現在如何使用它?我在Mac上。我在這一部分:最後,cd到zf-tutorial/module/Application/test /並運行phpunit。因爲我沒有在我的$ PATH中安裝phpunit,我使用哪個文件作爲可執行文件?任何幫助將非常感激。

這是我的文件夾結構。 enter image description here

回答