<?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>Sat, 18 May 2013 04:56:21 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Gonzalo Ayuso: Building a Silex application from one Behat/Gherkin feature file]]></title>
      <guid>http://www.phpdeveloper.org/news/18637</guid>
      <link>http://www.phpdeveloper.org/news/18637</link>
      <description><![CDATA[<p>
<i>Gonzalo Ayuso</i> has <a href="http://gonzalo123.com/2012/10/22/building-a-silex-application-from-one-behatgherkin-feature-file/">an interesting post</a> showing how you can use a Gherkin file (used in tools like <a href="http://behat.org/">Behat</a>) to generate a Silex-based application.
</p>
<blockquote>
Last days I've playing with <a href="http://behat.org/">Behat</a>. Behat is a behavior driven development (BDD) framework based on Ruby's <a href="http://cukes.info/">Cucumber</a>. Basically with Behat we defenie features within one feature file. I'm not going to crate a Behat tutorial (you can read more about Behat <a href="http://docs.behat.org/quick_intro.html">here</a>). Behat use Gherkin to write the features files. When I was playing with Behat I had one idea. The idea is simple: Can we use Gherking to build a Silex application?. It was a good excuse to study Gherking, indeed.
</blockquote>
<p>
He includes the example feature file - one that builds an API that lets you list users, get the information for a specific user and update the user's information. Also included are two simple requests to be made to the API and the actual script that makes the Gherkinn-to-Silex translation possible. You can find the <a href="https://github.com/gonzalo123/gherking-sylex">full code on github</a>.
</p>]]></description>
      <pubDate>Mon, 22 Oct 2012 08:55:18 -0500</pubDate>
    </item>
  </channel>
</rss>
