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

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



Community Events





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


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

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