News Feed
Sections




News Archive
feed this:

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


Sebastian Bergmann's Blog:
Hamcrest
January 01, 2008 @ 14:16:00

In a new post to his blog, Sebastian Bergmann mentions a new effort he's undertaken - the porting of the Hamcrest library of matcher objects to PHP.

I have begun to port Hamcrest, which provides a library of matcher objects (also known as constraints or predicates) allowing "match" rules to be defined declaratively, to be used in other frameworks. Typical scenarios include testing frameworks, mocking libraries and UI validation rules, to PHP.

The hamcrest-php project compliments other current hamcrest-related projects and his ultimate goal is to make it available to the PHPUnit testing community (as well as with the PHPMock effort).

0 comments voice your opinion now!
hamcrest phpunit matcher constraint object phpmock port hamcrest phpunit matcher constraint object phpmock port



Community Events





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


series library language symfony opinion api package interview laravel tips community framework bugfix deployment release install voicesoftheelephpant introduction list podcast

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