PHP.ph

31 Aug, 2008

Lorenzo Alberton: Zend Framework Testing

Posted by: aqua In: News and Views

Lorenzo Alberton shares his thoughts on Zend Framework testing. He includes codes to emulate HTTP Calls. He used HTTP stub class instead to detach the models from the web services.

One of the unit testing best practices suggests to break dependencies, so you can test each component separately. The first problem that arises when you want to test controllers might be having a tighter control over the HTTP Request and Response objects.

Tags:

No Responses to "Lorenzo Alberton: Zend Framework Testing"

Comment Form

About PHP.ph

Linux Apache MySQL PHP