News Feed
Sections




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

Sebastian Bergmann's Blog:
Support for BDD and Stories in PHPUnit 3.3
January 17, 2008 @ 08:48:00

On his blog today Sebastian Bergmann has posted about new functionality that's been added to the PHPUnit unit testing package for PHP - support for BDD and Stories.

PHPUnit_Extensions_Story_TestCase is a new extension for PHPUnit that has been contributed by Xait, a company that I visited last fall. It adds a story framework with a Domain-Specific Language (DSL) for Behaviour-Driven Development (BDD).

He includes an example of the new extension in action - creating a Story, adding Steps to it and the output that would result from the execution (reading?) of the example.

0 comments voice your opinion now!
bdd story extension xait dsl testcase step bdd story extension xait dsl testcase step


blog comments powered by Disqus

Similar Posts

Christian Stocker\'s Blog: PHP 5, OS X, fink and iconv

PHP-Tip-a-Day: PHP Tutorial: King Floyd and the Seventeen Princes - A Tale of the Observer Pattern

DevShed: Debugging Program Flow with the Xdebug Extension

Chris Jones' Blog: Which OCI8 DLL to use in PHP 5.3

Insane Security Blog: PHP 5.2+ Data Filtering Extension = BAD?


Community Events





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


artisanfiles framework list security version conference composer interview laravel language community series opinion podcast voicesoftheelephpant tool symfony library release introduction

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