News Feed
Jobs Feed
Sections




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

Project:
ArrBDD - a Behavior-Driven Development Library for PHP 5
July 18, 2011 @ 11:14:29

Leng Sheng Hong has submitted about a project posted recently he's developed to make behavior-driven development in PHP easier - ArBDD.

ArBDD is a simple yet powerful BDD library for PHP to get you started with BDD in PHP. Excellent for those who have no previous experience with BDD.

The project's page includes some basic code definitions of behaviors the code should follow, the creation of a simple mock object and the JSON-based results that come out when the tool is executed. They've also created an AIR-based viewing tool to see the results outside the browser. The code requires PHP 5.3+ because of its use of closures.

For another example of BDD testing in action, look at the Behat framework, based on the Ruby Cucumber syntax.

0 comments voice your opinion now!
behaviordriven development library arrbdd project behat


blog comments powered by Disqus

Similar Posts

Facebook.com: PHPEmbed

Wez Furlong\'s Blog: Undefined Behaviour

Paul Jones: Aura: First 1.0.0 Stable Library Releases!

Brandon Savage's Blog: The Fallacy of Sunk Cost

SitePoint PHP Blog: Introduction to JadePHP


Community Events











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


symfony2 language opinion facebook release hhvm unittest hack application podcast example composer security component install series code package introduction framework

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