News Feed
Jobs Feed
Sections




News Archive
Avnet Labs Blog:
TDD with Zend Framework - testing controllers
November 19, 2009 @ 09:37:40

On the Avnet Labs blog today Ekerete has posted a look at test-driven design with Zend Framework applications (controllers) and PHPUnit. This is the second part of a series of articles on the topic (here's part one).

In the first part of this series we set up our Zend Framework application and specified our requirements. In this part we'll tackle the first requirement '" as a user, I want to visit the home page and see a form where I can enter my full name and email address.

The tutorial shows how to write tests to check the based index controller and how to check the email newsletter enrollment page for the correct form fields. Code snippets for the tests and the controller/forms are also included.

0 comments voice your opinion now!
ttd testdrivendesign controller zendframework


blog comments powered by Disqus

Similar Posts

Book Review: Zend Framework 1.8 Web Application Development

Patrick Reilly's Blog: Zend Framework Project Teams Need You

IBM developerWorks: PHP frameworks, Part 1: Getting started with three popular frameworks

Padraic Brady's Blog: Zend_Yaml; Gone the way of the Dodo...

Federico Cargnelutti's Blog: An Alternative to Zend_Controller: Introduction


Community Events











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


opinion usergroup zendframework2 development symfony2 community conference interview framework functional testing language rest release series example phpunit database podcast introduction

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