News Feed
Sections




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

PHPBuilder.com:
Testing with the Zend Framework How to Get Started
September 30, 2010 @ 10:53:06

On PHPBuilder.com today there's a new tutorial from Jason Gilmore about working with Zend Framework applications and how to test its functionality with the help of a library he's created.

Thankfully, the software community has put a great deal of time and effort into developing automated testing approaches. In fact, most Web frameworks incorporate a native testing solution that can be used to test a wide variety of website attributes and behaviors. One such framework, the Zend Framework, integrates the de facto PHP testing solution PHPUnit (introduced in an earlier PHPBuilder.com article).

He shows some first steps of testing an "About" controller and that you end up on the right action - "index". After that he gets a bit more complex with a test on a form complete with POST information to ensure that the user is either redirected to the user's profile page or back to the login form.

0 comments voice your opinion now!
zendframework unittest functional tutorial


blog comments powered by Disqus

Similar Posts

NETTUTS.com: 3 Ways to Speed up Your Site with PHP

HowToForge.com: Installing Cherokee With PHP5 And MySQL Support On Ubuntu 11.04

Gonzalo Ayuso: Auto injecting dependencies in PHP objects

The Bakery - Rails-Like Validation, Elistic, Textile, and a CakePHP Release

Zend Developer Zone: Dynamically Creating Compressed Zip Archives With PHP


Community Events





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


version list configure composer api opinion release podcast language introduction laravel series framework unittest conference interview voicesoftheelephpant tool community symfony

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