<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 23 May 2013 20:19:11 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Devis Lucato's Blog: PHP BDD with Cucumber/Cuke4Php]]></title>
      <guid>http://www.phpdeveloper.org/news/16156</guid>
      <link>http://www.phpdeveloper.org/news/16156</link>
      <description><![CDATA[<p>
<i>Devis Lucato</i> has put together <a href="http://lucato.it/php-bdd-cucumber-cuke4php">a new post to his blog</a> showing how to use the <a href="https://github.com/olbrich/cuke4php/wiki">Cuke4PHP</a> tool to use Cucumber-style BDD (behavior-driven development) testing in your development.
</p>
<blockquote>
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.
</blockquote>
<p>
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.
</p>]]></description>
      <pubDate>Wed, 06 Apr 2011 12:52:03 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Greepit.com: Behavior Driven Development Framework for PHP: Behat]]></title>
      <guid>http://www.phpdeveloper.org/news/15851</guid>
      <link>http://www.phpdeveloper.org/news/15851</link>
      <description><![CDATA[<p>
On Greepit.com there's <a href="http://www.greepit.com/2011/02/behavior-driven-development-framework-for-php-behat/">a quick post</a> pointing out a behavior-driven development framework for PHP that turns the usual sort of testing (unit testing) around and looks from the other side - <A href="http://everzet.com/Behat/">Behat</a>.
</p>
<blockquote>
Unlike any other PHP testing framework that tests applications inside out. Behat is testing applications <a href="http://blog.dannorth.net/whats-in-a-story/">outside in</a>. It means, that Behat works only with your application's input/output. There are <a href="http://everzet.com/sfBehatPlugin/">Symfony plugin</a> and <a href="http://symfony2bundles.org/everzet/EverzetBehatBundle">Symfony2 bundle</a> for Behat, so you can start testing your applications right now.
</blockquote>
<p>
Behat is an open source behavior-driven development framework that's PHP 5.3 only inspired by Ruby's <a href="http://cukes.info/">Cucumber</a> project. You can install it in one of two ways - either from their custom PEAR channel (pear.everzet.com) or by cloning their <a href="https://github.com/everzet/Behat">github repository</a>. The <a href="http://everzet.com/Behat/">Behat site</a> has some example tests 
 to get you started.
</p>]]></description>
      <pubDate>Thu, 03 Feb 2011 10:56:27 -0600</pubDate>
    </item>
  </channel>
</rss>
