1
在Zend Framework 1.8中,使用Zend_Tool,框架现在自动生成控制器,操作等。如何使用Zend Framework 1.8单元测试?
它的功能是在创建项目时创建测试目录。
quickstart
|-- application
| |-- Bootstrap.php
| |-- configs
| | `-- application.ini
| |-- controllers
| | |-- ErrorController.php
| | `-- IndexController.php
| |-- models
| `-- views
| |-- helpers
| `-- scripts
| |-- error
| | `-- error.phtml
| `-- index
| `-- index.phtml
|-- library
|-- public
| `-- index.php
`-- tests
|-- application
| `-- bootstrap.php
|-- library
| `-- bootstrap.php
`-- phpunit.xml
那么它是做什么的?我如何真正使用它? 我正在阅读关于单元测试,希望这将有助于更多地理解它。
感谢, Wenbert
这正是我所期待的。谢谢! – wenbert 2009-07-27 02:38:23