News 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

DevShed: Drawing Functions and the GD Library in PHP

Lorna Mitchell's Blog: Using an Existing Vagrant Setup for PHP Development

SitePoint PHP Blog: Tim\'s comment challenge...

PHP.net: PHP 5.4 beta1 released

PHP Addiction Blog: PHP - No Container libraries?


Community Events

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


install example community xdebug laravel php7 laravel5 library language interview unittest series introduction api release opinion podcast framework extension voicesoftheelephpant

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