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
Jan 14, 2008 @ 16: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.

tagged: bdd tdd testdriven development phpspec phpmock phpunit zendframework bdd tdd testdriven development phpspec phpmock phpunit zendframework

Link:


Trending Topics: