News Feed
Sections




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

Alexander Netkachev's Blog:
Automatic testing of MVC applications created with Zend Framework
March 21, 2007 @ 07:43:00

In a new blog entry, Alexander Netkachev writes about his experiences with the automatic testing of applications developed with the Zend Framework.

This article contains information on how to improve your application stability by controlling how the changes affect the Model-View-Controller Zend Framework application. As a result, you will be able to deliver better software to your customers and reduce the time needed for testing of the software.

He breaks the post out into several different sections:

  • Testing should be automatic
  • Program tests program
  • MVC improves testability
  • MVC application creating is easy with Zend Framework
  • Select and modify data to test Model
  • View is simple but unsteady
  • Testing View includes testing Ajax
  • Use cases show how to test Controller
before getting down to an example. His example shows hos to test the part of an application that handles the new user registrations/logins. The setup is pretty simple - a user table with a UsersController - and the corresponding model and views to go with it. He chooses PHPUnit to perform the testing and gives all the code you'll need to reproduce the example, including the SQL and the testing scripts (and the output you should recieve by running them).

0 comments voice your opinion now!
zendframework unittest phpunit automatic mvc application zendframework unittest phpunit automatic mvc application


blog comments powered by Disqus

Similar Posts

Benjamin Eberlei's Blog: Using Zend_Soap Server and Autodiscover in a Controller

Zend Developer Zone: Zend Framework 1.7 Preview Release now available

PHPBuilder.com: Implementing Automatic Database Backup and Optimization in PHP

Wojciech Sznapka's Blog: Why Mockery is better than PHPUnit Mock Builder (with Symfony2)

Pádraic Brady's Blog: Complex Views with the Zend Framework - Part 3: Composite View Pattern


Community Events





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


release symfony introduction series composer library interview package application community framework language voicesoftheelephpant version laravel tool security update opinion podcast

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