<?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>Mon, 20 May 2013 11:15:05 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[QaFoo.com: Behavior Driven Development]]></title>
      <guid>http://www.phpdeveloper.org/news/19291</guid>
      <link>http://www.phpdeveloper.org/news/19291</link>
      <description><![CDATA[<p>
On the QaFoo blog today there's a new post looking at <a href="http://qafoo.com/blog/036_behavior_driven_development.html">behavior driven development</a> and a PHP-based tool that makes implementing it in your workflow simpler (<a href="http://behat.org/">Behat</a>).
</p>
<blockquote>
While unit, integration and system tests - especially combined with the methodology of Test Driven Development (TDD) - are great ways to push the technical correctness of an application forward, they miss out one important aspect: the customer. None of these methods verify that developers actually implement what the customer desires. <a href="https://en.wikipedia.org/wiki/Behavior-driven_development">Behavior Driven Development</a> (BDD) can help to bridge this gap.
</blockquote>
<p>
The introduce some of the basic concepts behind behavior driven development and include an example of a Gherkin-formatted test example checking a page to ensure if has the correct content. They briefly define the structure of the test then take it into a Behat context and show how it would be implemented.
</p>
<blockquote>
Of course, the examples shown above are only very rudimentary, missing e.g. variables and other advanced features. However, they should have explained what BDD is all about: Communication
</blockquote>]]></description>
      <pubDate>Fri, 08 Mar 2013 11:54:21 -0600</pubDate>
    </item>
  </channel>
</rss>
