News Feed
Sections




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

Padraic Brady's Blog:
The PHPSpec Zend Framework App Testing Manifesto ZF Integration
January 21, 2008 @ 10:21:00

Continuing on from his preamble on the integration of the PHPSpec BDD tool into the Zend Framework, Padraic Brady has posted the next in the series - a look at what it would take to make the integration happen.

The ideal was to move away from line-by-line setup and manipulation of Zend instances towards a more simplified model which is standardised for any PHPSpec specs.

He's already created an "experimental branch" to work inside of and some of these updates have been made to the trunk for the release of PHPSpec 0.3.0. The key that he found was in getting the customization of the "Zend Context operational to set up elements of the FrontController". He also includes a simple example of the extended functionality in action - simple interface methods to work with Twitter.

0 comments voice your opinion now!
phpspec bdd zendframework integrate testing example


blog comments powered by Disqus

Similar Posts

Mike Naberezny's Blog: Wrapping PHP Functions for Testability

JSLabs: How to create a self extracting PHP script

Jason Palmer's Blog: Zip Code To Location

Wez Furlong: OpenID (and TypeKey) using native OpenSSL functions in PHP

Alexander Netkachev's Blog: 404 error with Zend Framework Front Controller


Community Events

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


release series php7 library api interview application podcast symfony2 performance opinion introduction community laravel install example conference framework voicesoftheelephpant configure

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