News Feed
Sections




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

Devis Lucato's Blog:
PHP BDD with Cucumber/Cuke4Php
April 06, 2011 @ 12:52:03

Devis Lucato has put together a new post to his blog showing how to use the Cuke4PHP tool to use Cucumber-style BDD (behavior-driven development) testing in your development.

Cucumber is a Behavioural Driven Development framework written in Ruby. Using a wire it allows to write BDD steps in PHP to test PHP applications. Cuke4php is in fact a wire protocol implementation of Cucumber written in PHP.

You'll still need to have Cucumber (Ruby) installed on your testing system, but pulling in the Cuke4PHP tool is as easy as pointing your "pear" command-line tool at their PEAR server and installing. With a little bit of configuration (and possibly an install of PHPUnit) you'll be up and running. You can then write Cucumber tests that can run against your PHP code. They've included a sample PHP class and a Cucumber test to match it.

0 comments voice your opinion now!
behaviordriven development cucumber testing cuke4php


blog comments powered by Disqus

Similar Posts

Vito Chin's Blog: Book: PHP Development in the Cloud

Matt Curry's Blog: Giving Away A Free Copy Of CakePHP Application Development

Community News: Packt Publishing Releases "CodeIgniter for Rapid PHP Application Development"

Stefan Koopmanschap's Blog: BugHuntDay Zend Framework was great!

VG Tech Blog: How I Set Up My Local PHP Dev Environment on Mac OSX Yosemite in Three Easy Steps


Community Events





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


version community composer configure podcast laravel symfony interview release conference series threedevsandamaybe unittest introduction voicesoftheelephpant framework language api list opinion

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