News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

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

Kevin Schroeder's Blog: ZendCon 2010 Podcast - Introducing Zend Framework 2.0

Community News: Andi Gutmans to Present at AjaxWorld 2007

Sebastian Bergmann's Blog: Visualizing Text Differences in PHPUnit 3

Raphael Stolt's Blog: Closing and reopening GitHub issues via PHPUnit tests

Wim Godden's Blog: Automated PHP 5.3 compatibility testing for your (old) code


Community Events





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


laravel introduction opinion testing language interview api release podcast refactor framework symfony2 threedevsandamaybe code unittest list community developer install series

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