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

KillerPHP.com: The Zend Framework: Writing Object-Oriented PHP with Ease

Michelangelo van Dam's Blog: Zend Framework context switching for HTML content

Richard Lord's Blog: Zend_View helpers in include path

Chris Hartjes' Blog: The Devilís In The Details (or, Handling Sequences in Postgres in CakePHP)

Padraic Brady's Blog: Interfacing The PHP World Would Be Good


Community Events





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


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

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