News Feed
Jobs Feed
Sections




News Archive
Content with Style Blog:
Unit testing controllers with Zend Framework
April 14, 2009 @ 07:53:41

On the Content with Style blog Pascal has posted a new entry about testing your Zend Framework controllers with a combination of Zend_Test and the popular PHP unit testing software PHPUnit.

Unit testing your Zend Framework driven MVC applications is not hard at all. This post tries to give a brief overview on how to test your Controllers with Zend_Test.

There's only a few steps in his process - install PHPUnit, make a sample application to test (complete with controllers), run a test action against it and how to test the results of both normal posted values/a redirect and data manipulation in models.

2 comments voice your opinion now!
zendframework test unittest phpunit zendtest controller


blog comments powered by Disqus

Similar Posts

Andi Gutmans' Blog: Zend Framework 1.6 Featuring Dojo, SOAP, Testing, and more...

Stijn Leenknegt's Blog: [PHP6] function-return-array idea!

Genius Blog: Advanced PHPUnit: Annotations

Arnold's Blog: Without a framework: (M)VC

David Coallier's Blog: Zend_Db Without PDO part #3 (SVN Repository)?


Community Events











Don't see your event here?
Let us know!


language series application unittest tool testing zendframework2 community framework functional example introduction opinion podcast release code development phpunit interview conference

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework