<?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: Outside-In BDD: How?!</title>
	<atom:link href="http://www.sarahmei.com/blog/2010/05/29/outside-in-bdd/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sarahmei.com/blog/2010/05/29/outside-in-bdd/</link>
	<description></description>
	<lastBuildDate>Mon, 26 Sep 2011 22:22:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Frank</title>
		<link>http://www.sarahmei.com/blog/2010/05/29/outside-in-bdd/comment-page-1/#comment-616</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Tue, 23 Nov 2010 19:17:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.sarahmei.com/blog/?p=443#comment-616</guid>
		<description>I&#039;m currently learning cucumber and I really appreciate your post! I really liked the part when you say: &quot;Cucumber’s great for for happy path tests; I leave the rest to rspec.&quot;. It&#039;s a great advice I think. Until now I have always written some &quot;unhappy path tests&quot; in cucumber and they felt so unnatural... like they were not belonging there at all.</description>
		<content:encoded><![CDATA[<p>I&#8217;m currently learning cucumber and I really appreciate your post! I really liked the part when you say: &#8220;Cucumber’s great for for happy path tests; I leave the rest to rspec.&#8221;. It&#8217;s a great advice I think. Until now I have always written some &#8220;unhappy path tests&#8221; in cucumber and they felt so unnatural&#8230; like they were not belonging there at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil</title>
		<link>http://www.sarahmei.com/blog/2010/05/29/outside-in-bdd/comment-page-1/#comment-428</link>
		<dc:creator>Phil</dc:creator>
		<pubDate>Sat, 09 Oct 2010 17:53:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.sarahmei.com/blog/?p=443#comment-428</guid>
		<description>Brilliant post. We are working hard on refocusing on complete BDD practices. And this is an excellent article! I know our learning curve is step, but this is going to help.

Thanks!</description>
		<content:encoded><![CDATA[<p>Brilliant post. We are working hard on refocusing on complete BDD practices. And this is an excellent article! I know our learning curve is step, but this is going to help.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pedro</title>
		<link>http://www.sarahmei.com/blog/2010/05/29/outside-in-bdd/comment-page-1/#comment-318</link>
		<dc:creator>Pedro</dc:creator>
		<pubDate>Mon, 19 Jul 2010 22:48:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.sarahmei.com/blog/?p=443#comment-318</guid>
		<description>Great post! Regarding what to test, I find myself testing the controllers less frequently, as I&#039;m using Jose Valim&#039;s inherited_resources&#039;s gem. I only test the actions I need to override. But other than that, very useful information.</description>
		<content:encoded><![CDATA[<p>Great post! Regarding what to test, I find myself testing the controllers less frequently, as I&#8217;m using Jose Valim&#8217;s inherited_resources&#8217;s gem. I only test the actions I need to override. But other than that, very useful information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ott</title>
		<link>http://www.sarahmei.com/blog/2010/05/29/outside-in-bdd/comment-page-1/#comment-297</link>
		<dc:creator>Dave Ott</dc:creator>
		<pubDate>Wed, 23 Jun 2010 22:05:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.sarahmei.com/blog/?p=443#comment-297</guid>
		<description>Great to see someone explain this process in a detailed manner. We&#039;ve really started shying away from controller tests at Hashrocket on the whole. Mainly because if you need them then you&#039;re controller is doing too much (the controller in this post definitely doesn&#039;t do too much). We&#039;ve adopted a method of exposing resources from a controller using a gem written by a colleague called decent_exposure. It eliminates the need for instance variables in controllers thereby tidying them up even further (ex: expose(:book) { Book.new(params[:book]) }). So a typical controller only has create, update, and destroy and those actions only handle their one responsibility and then redirect. So this one responsibility is really covered in the cucumber integration test.

We&#039;ve also been loving the excellent capybara gem lately for testing javascript operations in our integration tests. Makes me feel all warm and fuzzy to watch the cucumber suite run in selenium mode.

Also agree with Anthony, should is redundant. When you&#039;re reading the english output from rspec #create: creates a book or redirects back to the book list is much nicer. These are picky things about an awesome post. Thanks for sharing this!</description>
		<content:encoded><![CDATA[<p>Great to see someone explain this process in a detailed manner. We&#8217;ve really started shying away from controller tests at Hashrocket on the whole. Mainly because if you need them then you&#8217;re controller is doing too much (the controller in this post definitely doesn&#8217;t do too much). We&#8217;ve adopted a method of exposing resources from a controller using a gem written by a colleague called decent_exposure. It eliminates the need for instance variables in controllers thereby tidying them up even further (ex: expose(:book) { Book.new(params[:book]) }). So a typical controller only has create, update, and destroy and those actions only handle their one responsibility and then redirect. So this one responsibility is really covered in the cucumber integration test.</p>
<p>We&#8217;ve also been loving the excellent capybara gem lately for testing javascript operations in our integration tests. Makes me feel all warm and fuzzy to watch the cucumber suite run in selenium mode.</p>
<p>Also agree with Anthony, should is redundant. When you&#8217;re reading the english output from rspec #create: creates a book or redirects back to the book list is much nicer. These are picky things about an awesome post. Thanks for sharing this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Burton</title>
		<link>http://www.sarahmei.com/blog/2010/05/29/outside-in-bdd/comment-page-1/#comment-269</link>
		<dc:creator>Scott Burton</dc:creator>
		<pubDate>Mon, 07 Jun 2010 15:29:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.sarahmei.com/blog/?p=443#comment-269</guid>
		<description>@neeraj - if you&#039;re skipping view specs (I do), it can be tempting to skip controller specs too. In my view, though, it&#039;s helpful to cover every branch of conditionals, and ensure things like instance variables are named properly. You don&#039;t really want to leave that to Cucumber.</description>
		<content:encoded><![CDATA[<p>@neeraj &#8211; if you&#8217;re skipping view specs (I do), it can be tempting to skip controller specs too. In my view, though, it&#8217;s helpful to cover every branch of conditionals, and ensure things like instance variables are named properly. You don&#8217;t really want to leave that to Cucumber.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andree Wille</title>
		<link>http://www.sarahmei.com/blog/2010/05/29/outside-in-bdd/comment-page-1/#comment-267</link>
		<dc:creator>Andree Wille</dc:creator>
		<pubDate>Sun, 06 Jun 2010 07:15:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.sarahmei.com/blog/?p=443#comment-267</guid>
		<description>Great post! A lot more people should follow this workflow. It would then also be easier to maintain legacy code. I agree with Anthony try to get rid of the shoulds in cucumber tests.</description>
		<content:encoded><![CDATA[<p>Great post! A lot more people should follow this workflow. It would then also be easier to maintain legacy code. I agree with Anthony try to get rid of the shoulds in cucumber tests.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Desmond</title>
		<link>http://www.sarahmei.com/blog/2010/05/29/outside-in-bdd/comment-page-1/#comment-266</link>
		<dc:creator>Desmond</dc:creator>
		<pubDate>Sun, 06 Jun 2010 02:29:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.sarahmei.com/blog/?p=443#comment-266</guid>
		<description>Thanks for the great post!  I remember watching a Cucumber presentation a while ago with a similar walk-through (sorry, I can&#039;t seem to find the link), but I like having it written down so I can refer to it easily.  You&#039;ve convinced me to actually try Cucumber out on my next project. :)</description>
		<content:encoded><![CDATA[<p>Thanks for the great post!  I remember watching a Cucumber presentation a while ago with a similar walk-through (sorry, I can&#8217;t seem to find the link), but I like having it written down so I can refer to it easily.  You&#8217;ve convinced me to actually try Cucumber out on my next project. <img src='http://www.sarahmei.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aslak Hellesøy</title>
		<link>http://www.sarahmei.com/blog/2010/05/29/outside-in-bdd/comment-page-1/#comment-265</link>
		<dc:creator>Aslak Hellesøy</dc:creator>
		<pubDate>Sun, 06 Jun 2010 02:09:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.sarahmei.com/blog/?p=443#comment-265</guid>
		<description>Sarah, you get Outside-In and you get Cucumber. Great post!</description>
		<content:encoded><![CDATA[<p>Sarah, you get Outside-In and you get Cucumber. Great post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Dick</title>
		<link>http://www.sarahmei.com/blog/2010/05/29/outside-in-bdd/comment-page-1/#comment-262</link>
		<dc:creator>Ryan Dick</dc:creator>
		<pubDate>Fri, 04 Jun 2010 06:15:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.sarahmei.com/blog/?p=443#comment-262</guid>
		<description>Excellent post Sarah.  This addresses the fundamental issue underlying the question I posed to the SF Ruby Meetup group a few weeks back, and has further crystallized my understanding of the Outside-In development process. 

I know you mentioned this in the caveat in the beginning, but a great follow-up post would be explaining the Outside-In approach when your models become more complex and include functions that should be tested.

Great work!</description>
		<content:encoded><![CDATA[<p>Excellent post Sarah.  This addresses the fundamental issue underlying the question I posed to the SF Ruby Meetup group a few weeks back, and has further crystallized my understanding of the Outside-In development process. </p>
<p>I know you mentioned this in the caveat in the beginning, but a great follow-up post would be explaining the Outside-In approach when your models become more complex and include functions that should be tested.</p>
<p>Great work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neeraj Singh</title>
		<link>http://www.sarahmei.com/blog/2010/05/29/outside-in-bdd/comment-page-1/#comment-257</link>
		<dc:creator>Neeraj Singh</dc:creator>
		<pubDate>Tue, 01 Jun 2010 08:49:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.sarahmei.com/blog/?p=443#comment-257</guid>
		<description>Do we really need to write controller tests while writing cucumber tests.

As I am writing more and cucumber tests I am noticing that I am writing less and less controller tests. If controller has some complex functionality then I move the feature to lib to keep controller really really skinny. And then I write test for all the stuff inside lib.

Again am I missing something by not writing controller tests?</description>
		<content:encoded><![CDATA[<p>Do we really need to write controller tests while writing cucumber tests.</p>
<p>As I am writing more and cucumber tests I am noticing that I am writing less and less controller tests. If controller has some complex functionality then I move the feature to lib to keep controller really really skinny. And then I write test for all the stuff inside lib.</p>
<p>Again am I missing something by not writing controller tests?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

