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 Preamble
January 14, 2008 @ 10:22:00

Padraic Brady has posted a manifesto of sorts about the work that he's been doing on his PHPSpec library and trying to work it into the approval process for the Zend Framework.

I'll be attempting to pound the Zend Framework into submission so I can apply Behaviour-Driven Development (BDD) using PHPSpec when I write a Controller. Why? Because I feel like it, and it gives me an excuse to promote one possible incarnation of PHPMock and the PHPSpec Zend Framework extension. See? Perfectly reasonable selfishness!

He hopes to move it past the typical test-driven development process that PHPUnit offers and "kick your ass into high-TDD gear" without having to have worked much with it before then (the key is simplicity).

He includes some code examples (how it should flow) and describes some of the challenges that he's coming across so far, specifically with the way that the Zend Framework works with the Controllers and what he wants to accomplish.

0 comments voice your opinion now!
bdd tdd testdriven development phpspec phpmock phpunit zendframework bdd tdd testdriven development phpspec phpmock phpunit zendframework


blog comments powered by Disqus

Similar Posts

NetTuts.com: Letís TDD a Simple App in PHP

Pádraic Brady's Blog: Complex Views with the Zend Framework - Pt 5: The Two-Step View Pattern

Developer Tutorials Blog: Five reasons you should be using PHP

Matthew Weier O'Phinney's Blog: Autoloading Doctrine and Doctrine entities from Zend Framework

Sebastian Bergmann's Blog: Update on Mutation Testing


Community Events





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


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

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