<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: DRY up your Cucumber Steps</title>
	<atom:link href="http://blog.mattwynne.net/2008/11/14/dry-up-your-cucumber-steps/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mattwynne.net/2008/11/14/dry-up-your-cucumber-steps/</link>
	<description>Matt Wynne taking it one tea at a time</description>
	<lastBuildDate>Fri, 27 Jan 2012 08:31:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Matt</title>
		<link>http://blog.mattwynne.net/2008/11/14/dry-up-your-cucumber-steps/comment-page-1/#comment-1366</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 15 Jul 2011 13:53:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mattwynne.net/2008/11/14/dry-up-your-cucumber-steps/#comment-1366</guid>
		<description>&lt;p&gt;I agree Arnaud, it would be better if these mappings were surfaced in Gherkin. However it&#039;s not easy to do technically, so it&#039;s hasn&#039;t been implemented yet. I hope it will happen eventually, but we might have to wait for Cucumber 2.0!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I agree Arnaud, it would be better if these mappings were surfaced in Gherkin. However it&#8217;s not easy to do technically, so it&#8217;s hasn&#8217;t been implemented yet. I hope it will happen eventually, but we might have to wait for Cucumber 2.0!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Arnaud Meuret</title>
		<link>http://blog.mattwynne.net/2008/11/14/dry-up-your-cucumber-steps/comment-page-1/#comment-1365</link>
		<dc:creator>Arnaud Meuret</dc:creator>
		<pubDate>Fri, 15 Jul 2011 12:15:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mattwynne.net/2008/11/14/dry-up-your-cucumber-steps/#comment-1365</guid>
		<description>&lt;p&gt;Yes reusing Gherkin steps in the step definitions was a huge progress. However I really miss the matching feature in Gherkin space. RSpec has its Shared Examples feature and I have always wondered why the Cucumber team never wanted to augment Gherkin to allow a better behaviour factoring.&lt;/p&gt;

&lt;p&gt;Isolating the stakeholders from the programming language is one of the main justification of Cucumber so why are we forced to enter the step definition space to get a nice feature like nested specifications ?&lt;/p&gt;

&lt;p&gt;An example is here: https://gist.github.com/1084580&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Yes reusing Gherkin steps in the step definitions was a huge progress. However I really miss the matching feature in Gherkin space. RSpec has its Shared Examples feature and I have always wondered why the Cucumber team never wanted to augment Gherkin to allow a better behaviour factoring.</p>

<p>Isolating the stakeholders from the programming language is one of the main justification of Cucumber so why are we forced to enter the step definition space to get a nice feature like nested specifications ?</p>

<p>An example is here: <a href="https://gist.github.com/1084580" rel="nofollow">https://gist.github.com/1084580</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://blog.mattwynne.net/2008/11/14/dry-up-your-cucumber-steps/comment-page-1/#comment-1361</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 08 Jul 2011 16:45:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mattwynne.net/2008/11/14/dry-up-your-cucumber-steps/#comment-1361</guid>
		<description>&lt;p&gt;@Jairo: according to https://github.com/cucumber/cucumber/blob/master/History.md it was first added in v0.1.7&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Jairo: according to <a href="https://github.com/cucumber/cucumber/blob/master/History.md" rel="nofollow">https://github.com/cucumber/cucumber/blob/master/History.md</a> it was first added in v0.1.7</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jairo Diaz</title>
		<link>http://blog.mattwynne.net/2008/11/14/dry-up-your-cucumber-steps/comment-page-1/#comment-1360</link>
		<dc:creator>Jairo Diaz</dc:creator>
		<pubDate>Fri, 08 Jul 2011 15:54:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mattwynne.net/2008/11/14/dry-up-your-cucumber-steps/#comment-1360</guid>
		<description>&lt;p&gt;I am working on a legacy application with an old cucumber version. From what version does Cucumber support nested steps?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I am working on a legacy application with an old cucumber version. From what version does Cucumber support nested steps?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Mark&#8217;s Link Blog &#187; links for 2009-06-09</title>
		<link>http://blog.mattwynne.net/2008/11/14/dry-up-your-cucumber-steps/comment-page-1/#comment-604</link>
		<dc:creator>Mark&#8217;s Link Blog &#187; links for 2009-06-09</dc:creator>
		<pubDate>Wed, 10 Jun 2009 06:05:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mattwynne.net/2008/11/14/dry-up-your-cucumber-steps/#comment-604</guid>
		<description>&lt;p&gt;[...] blog.mattwynne.net : DRY up your Cucumber Steps (tags: testing cucumber bdd tdd dry) [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] blog.mattwynne.net : DRY up your Cucumber Steps (tags: testing cucumber bdd tdd dry) [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Jensen</title>
		<link>http://blog.mattwynne.net/2008/11/14/dry-up-your-cucumber-steps/comment-page-1/#comment-566</link>
		<dc:creator>Paul Jensen</dc:creator>
		<pubDate>Wed, 27 May 2009 07:59:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mattwynne.net/2008/11/14/dry-up-your-cucumber-steps/#comment-566</guid>
		<description>&lt;p&gt;Thanks for the post, I was in the same place of reusing steps for testing user authentication with authlogic.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for the post, I was in the same place of reusing steps for testing user authentication with authlogic.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Alexis Perrier</title>
		<link>http://blog.mattwynne.net/2008/11/14/dry-up-your-cucumber-steps/comment-page-1/#comment-502</link>
		<dc:creator>Alexis Perrier</dc:creator>
		<pubDate>Sat, 18 Apr 2009 08:06:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mattwynne.net/2008/11/14/dry-up-your-cucumber-steps/#comment-502</guid>
		<description>&lt;p&gt;Thanks a lot, very useful. 
A must have if your serious about testing
I was trying to find your article using &quot;cucumber nested given&quot; on google which didn&#039;t work. 
So I thought i&#039;d add the keywords in the comment.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks a lot, very useful. 
A must have if your serious about testing
I was trying to find your article using &#8220;cucumber nested given&#8221; on google which didn&#8217;t work. 
So I thought i&#8217;d add the keywords in the comment.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Robby on Rails : 20 articles on Cucumber and a free beverage recipe!</title>
		<link>http://blog.mattwynne.net/2008/11/14/dry-up-your-cucumber-steps/comment-page-1/#comment-491</link>
		<dc:creator>Robby on Rails : 20 articles on Cucumber and a free beverage recipe!</dc:creator>
		<pubDate>Fri, 10 Apr 2009 03:32:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mattwynne.net/2008/11/14/dry-up-your-cucumber-steps/#comment-491</guid>
		<description>&lt;p&gt;[...] DRY up your Cucumber Steps, Matt Wynne [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] DRY up your Cucumber Steps, Matt Wynne [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://blog.mattwynne.net/2008/11/14/dry-up-your-cucumber-steps/comment-page-1/#comment-488</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Wed, 08 Apr 2009 20:36:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mattwynne.net/2008/11/14/dry-up-your-cucumber-steps/#comment-488</guid>
		<description>&lt;p&gt;Hi Wes,&lt;/p&gt;

&lt;p&gt;It definitely sounds like Background would fit well for you - you can set up the data in the background then carry out different actions on it in different scenarios. The advantage of doing this is your tests are very clear about the data being set up. The disadvantage is that you can&#039;t vary that data at all in the different scenarios. Spelling out the data to use can also be a bit noisy - sometimes the specific data you use doesn&#039;t matter - you just want the general sense of the state of the system.&lt;/p&gt;

&lt;p&gt;See &lt;a href=&quot;http://www.benmabey.com/2008/05/19/imperative-vs-declarative-scenarios-in-user-stories/&quot; rel=&quot;nofollow&quot;&gt;this&lt;/a&gt; excellent post by Ben Mabey on that subject.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Wes,</p>

<p>It definitely sounds like Background would fit well for you &#8211; you can set up the data in the background then carry out different actions on it in different scenarios. The advantage of doing this is your tests are very clear about the data being set up. The disadvantage is that you can&#8217;t vary that data at all in the different scenarios. Spelling out the data to use can also be a bit noisy &#8211; sometimes the specific data you use doesn&#8217;t matter &#8211; you just want the general sense of the state of the system.</p>

<p>See <a href="http://www.benmabey.com/2008/05/19/imperative-vs-declarative-scenarios-in-user-stories/" rel="nofollow">this</a> excellent post by Ben Mabey on that subject.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Wes</title>
		<link>http://blog.mattwynne.net/2008/11/14/dry-up-your-cucumber-steps/comment-page-1/#comment-487</link>
		<dc:creator>Wes</dc:creator>
		<pubDate>Wed, 08 Apr 2009 09:00:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mattwynne.net/2008/11/14/dry-up-your-cucumber-steps/#comment-487</guid>
		<description>&lt;p&gt;i know this thread is old but what about scenarios that require reuse of a set of data.  My example is a set of flights.  I have several scenarios for delaying, canceling, or other scheduling based actions that all need a set of flights over time that are affected by the actions.  I would like to define this set in one place and reuse them in the different scenarios probably using a Background: type given scenario.  Is there a way to do this or a better suggestion for handling this?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>i know this thread is old but what about scenarios that require reuse of a set of data.  My example is a set of flights.  I have several scenarios for delaying, canceling, or other scheduling based actions that all need a set of flights over time that are affected by the actions.  I would like to define this set in one place and reuse them in the different scenarios probably using a Background: type given scenario.  Is there a way to do this or a better suggestion for handling this?</p>]]></content:encoded>
	</item>
</channel>
</rss>

