<?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: Just Add a Dash of Include to Your Spinach</title>
	<atom:link href="http://blog.thefrontiergroup.com.au/2012/09/just-add-a-dash-of-include-to-your-spinach/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.thefrontiergroup.com.au/2012/09/just-add-a-dash-of-include-to-your-spinach/</link>
	<description>Your peek inside the collective mind of The Frontier Group</description>
	<lastBuildDate>Fri, 17 May 2013 04:46:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Aaron</title>
		<link>http://blog.thefrontiergroup.com.au/2012/09/just-add-a-dash-of-include-to-your-spinach/comment-page-1/#comment-4131</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Thu, 13 Sep 2012 05:42:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thefrontiergroup.com.au/?p=2066#comment-4131</guid>
		<description>I haven&#039;t checked out Spinach that much but I do like to use World a lot in Cucumber for sharing modules. For instance we use an autocomplete widget let&#039;s say widgetThingA and so I wrote a module that would allow you do interact with it. The gross logic sat in that module. 

When we switched to widgetThingB lately I changed it in one place and no steps changed. It&#039;s responsibility principle baby!

As for your issue with Cucumber sharing stuff, I think you just end up doing some sniffing inside your steps and then making calls out to the appropriate modules. 

In our case though we don&#039;t have very many &#039;fill in form&#039; type steps, they&#039;re more &#039;create a thing&#039; which means you end up with very little overlap. Creating ThingA and ThingB are typically different. 

Have you tried writing more declarative steps? I&#039;ve found way less overlap between steps and it tends to be much cleaner overall. If this won&#039;t work then I&#039;d lean toward steps that do the appropriate context discovery and then inject/utilise whichever module you wish. 

Nice one though! :)</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t checked out Spinach that much but I do like to use World a lot in Cucumber for sharing modules. For instance we use an autocomplete widget let&#8217;s say widgetThingA and so I wrote a module that would allow you do interact with it. The gross logic sat in that module. </p>
<p>When we switched to widgetThingB lately I changed it in one place and no steps changed. It&#8217;s responsibility principle baby!</p>
<p>As for your issue with Cucumber sharing stuff, I think you just end up doing some sniffing inside your steps and then making calls out to the appropriate modules. </p>
<p>In our case though we don&#8217;t have very many &#8216;fill in form&#8217; type steps, they&#8217;re more &#8216;create a thing&#8217; which means you end up with very little overlap. Creating ThingA and ThingB are typically different. </p>
<p>Have you tried writing more declarative steps? I&#8217;ve found way less overlap between steps and it tends to be much cleaner overall. If this won&#8217;t work then I&#8217;d lean toward steps that do the appropriate context discovery and then inject/utilise whichever module you wish. </p>
<p>Nice one though! :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Galipo</title>
		<link>http://blog.thefrontiergroup.com.au/2012/09/just-add-a-dash-of-include-to-your-spinach/comment-page-1/#comment-4115</link>
		<dc:creator>Dan Galipo</dc:creator>
		<pubDate>Tue, 11 Sep 2012 01:28:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thefrontiergroup.com.au/?p=2066#comment-4115</guid>
		<description>Nice catch Steve :) I have updated the post to fix that typo.</description>
		<content:encoded><![CDATA[<p>Nice catch Steve :) I have updated the post to fix that typo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: narkoz</title>
		<link>http://blog.thefrontiergroup.com.au/2012/09/just-add-a-dash-of-include-to-your-spinach/comment-page-1/#comment-4114</link>
		<dc:creator>narkoz</dc:creator>
		<pubDate>Mon, 10 Sep 2012 16:16:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thefrontiergroup.com.au/?p=2066#comment-4114</guid>
		<description>Recently we at GitLab switched from Cucumber to Spinach, too. 
Here is a summary: https://github.com/gitlabhq/gitlabhq/pull/1426

We are more than happy with the transition.</description>
		<content:encoded><![CDATA[<p>Recently we at GitLab switched from Cucumber to Spinach, too.<br />
Here is a summary: <a href="https://github.com/gitlabhq/gitlabhq/pull/1426" rel="nofollow">https://github.com/gitlabhq/gitlabhq/pull/1426</a></p>
<p>We are more than happy with the transition.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Klabnik</title>
		<link>http://blog.thefrontiergroup.com.au/2012/09/just-add-a-dash-of-include-to-your-spinach/comment-page-1/#comment-4112</link>
		<dc:creator>Steve Klabnik</dc:creator>
		<pubDate>Mon, 10 Sep 2012 14:40:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thefrontiergroup.com.au/?p=2066#comment-4112</guid>
		<description>* are</description>
		<content:encoded><![CDATA[<p>* are</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Klabnik</title>
		<link>http://blog.thefrontiergroup.com.au/2012/09/just-add-a-dash-of-include-to-your-spinach/comment-page-1/#comment-4111</link>
		<dc:creator>Steve Klabnik</dc:creator>
		<pubDate>Mon, 10 Sep 2012 14:40:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.thefrontiergroup.com.au/?p=2066#comment-4111</guid>
		<description>How you can include SharedPaths, SharedForms, etc. when your modules is called SharedPath, SharedForm?

I&#039;ll be happy to inspect it closer if you put code to github, tho.</description>
		<content:encoded><![CDATA[<p>How you can include SharedPaths, SharedForms, etc. when your modules is called SharedPath, SharedForm?</p>
<p>I&#8217;ll be happy to inspect it closer if you put code to github, tho.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
