2009年10月11日星期日

Re: [fw-mvc] How to start a test?

huajun qi wrote:
>
> Thanks for your reply.
> If I want to start a mvc testing, how can i bootstrap the application?
>

Usually you bootstrap your testing environment the same way as you bootstrap
your application. Except for the little change in paths to your application
and library folders. And yes autoloading should be available after that!

Here's a nice video walkthrough how to quickly set up scaffolding for
running your unit tests:
http://www.zendcasts.com/unit-testing-with-the-zend-framework-with-zend_test-and-phpunit/2009/06/

Hope that helps,
Good luck.

--
View this message in context: http://www.nabble.com/How-to-start-a-test--tp25630378p25842062.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: