<?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: Rails Testing Frequently Asked Questions &#8212; The Non-Code Version</title>
	<atom:link href="http://www.pathf.com/blogs/2009/05/rails-testing-frequently-asked-questions-the-non-code-version/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pathf.com/blogs/2009/05/rails-testing-frequently-asked-questions-the-non-code-version/</link>
	<description>Running commentary about agile development, user experience design and Ajax.</description>
	<lastBuildDate>Fri, 05 Mar 2010 19:33:43 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Agile Ajax &#187; ChicagoRuby meeting &#8216;Test Prescriptions&#8217; recap &#187; Pathfinder Development</title>
		<link>http://www.pathf.com/blogs/2009/05/rails-testing-frequently-asked-questions-the-non-code-version/comment-page-1/#comment-6799</link>
		<dc:creator>Agile Ajax &#187; ChicagoRuby meeting &#8216;Test Prescriptions&#8217; recap &#187; Pathfinder Development</dc:creator>
		<pubDate>Wed, 24 Jun 2009 18:52:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=2453#comment-6799</guid>
		<description>[...] Rappin&#039;s talk covered some of the most common questions he gets through the Pathfinder Development Blog, and his own site RailsPrescriptions site [...]</description>
		<content:encoded><![CDATA[<p>[...] Rappin&#8217;s talk covered some of the most common questions he gets through the Pathfinder Development Blog, and his own site RailsPrescriptions site [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dev Blog AF83 &#187; Blog Archive &#187; Veille technologique : Conditions d&#8217;utilisation, Lecture, HTML5, Mozilla, Vim, Git, Ruby, Rails, Javascript, Microframeworks, PHP, Python, Bases de données</title>
		<link>http://www.pathf.com/blogs/2009/05/rails-testing-frequently-asked-questions-the-non-code-version/comment-page-1/#comment-6635</link>
		<dc:creator>Dev Blog AF83 &#187; Blog Archive &#187; Veille technologique : Conditions d&#8217;utilisation, Lecture, HTML5, Mozilla, Vim, Git, Ruby, Rails, Javascript, Microframeworks, PHP, Python, Bases de données</dc:creator>
		<pubDate>Tue, 09 Jun 2009 11:03:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=2453#comment-6635</guid>
		<description>[...] http://www.pathf.com/blogs/2009/05/rails-testing-frequently-asked-questions-the-non-code-version/ : une FAQ sur les tests dans Rails [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.pathf.com/blogs/2009/05/rails-testing-frequently-asked-questions-the-non-code-version/" rel="nofollow">http://www.pathf.com/blogs/2009/05/rails-testing-frequently-asked-questions-the-non-code-version/</a> : une FAQ sur les tests dans Rails [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bryanl</title>
		<link>http://www.pathf.com/blogs/2009/05/rails-testing-frequently-asked-questions-the-non-code-version/comment-page-1/#comment-6498</link>
		<dc:creator>bryanl</dc:creator>
		<pubDate>Fri, 22 May 2009 19:23:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=2453#comment-6498</guid>
		<description>TATFT is thinking about testing all the time.  Not actually doing it.</description>
		<content:encoded><![CDATA[<p>TATFT is thinking about testing all the time.  Not actually doing it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Croak</title>
		<link>http://www.pathf.com/blogs/2009/05/rails-testing-frequently-asked-questions-the-non-code-version/comment-page-1/#comment-6488</link>
		<dc:creator>Dan Croak</dc:creator>
		<pubDate>Wed, 20 May 2009 19:32:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=2453#comment-6488</guid>
		<description>I like your suggested progression of testing tools. This is similar to how we teach testing in thoughtbot&#039;s Rails training program.

* introduce Ruby
* introduce Four-Phase Test
* introduce Test::Unit
* unit test a Ruby class with Test::Unit
* Rails testing with Test::Unit
* as needs expand, introduce Shoulda &amp; Factory Girl

In the advanced class, we get into mocking and different styles of testing (integration, isolation), and talk about RSPec&#039;s separation of testing views &amp; controllers as a reason you might then layer on RSpec on top of code you&#039;ve already written. (Test::Unit &amp; Shoulda code can run nicely inside RSpec)

I&#039;ve found progression is important for Rails developers new to testing. There&#039;s already a ton of information thrown at Rails developers, so building up piece-by-piece lowers the barrier to entry.</description>
		<content:encoded><![CDATA[<p>I like your suggested progression of testing tools. This is similar to how we teach testing in thoughtbot&#8217;s Rails training program.</p>
<p>* introduce Ruby<br />
* introduce Four-Phase Test<br />
* introduce Test::Unit<br />
* unit test a Ruby class with Test::Unit<br />
* Rails testing with Test::Unit<br />
* as needs expand, introduce Shoulda &amp; Factory Girl</p>
<p>In the advanced class, we get into mocking and different styles of testing (integration, isolation), and talk about RSPec&#8217;s separation of testing views &amp; controllers as a reason you might then layer on RSpec on top of code you&#8217;ve already written. (Test::Unit &amp; Shoulda code can run nicely inside RSpec)</p>
<p>I&#8217;ve found progression is important for Rails developers new to testing. There&#8217;s already a ton of information thrown at Rails developers, so building up piece-by-piece lowers the barrier to entry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Takaaki Kato</title>
		<link>http://www.pathf.com/blogs/2009/05/rails-testing-frequently-asked-questions-the-non-code-version/comment-page-1/#comment-6469</link>
		<dc:creator>Takaaki Kato</dc:creator>
		<pubDate>Sat, 16 May 2009 08:23:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=2453#comment-6469</guid>
		<description>Thanks, Noel, for answering my questions at RubyLearning. Your effort on the book, I belive, will give people a better understanding and skillset about TDD.</description>
		<content:encoded><![CDATA[<p>Thanks, Noel, for answering my questions at RubyLearning. Your effort on the book, I belive, will give people a better understanding and skillset about TDD.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noel Rappin</title>
		<link>http://www.pathf.com/blogs/2009/05/rails-testing-frequently-asked-questions-the-non-code-version/comment-page-1/#comment-6468</link>
		<dc:creator>Noel Rappin</dc:creator>
		<pubDate>Fri, 15 May 2009 22:07:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=2453#comment-6468</guid>
		<description>@Chris, the test stack you list is pretty similar to the tools that I push for in the book (Machinist over Factory Girl, Mocha over the others for now, Shoulda over RSpec)...</description>
		<content:encoded><![CDATA[<p>@Chris, the test stack you list is pretty similar to the tools that I push for in the book (Machinist over Factory Girl, Mocha over the others for now, Shoulda over RSpec)&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noel Rappin</title>
		<link>http://www.pathf.com/blogs/2009/05/rails-testing-frequently-asked-questions-the-non-code-version/comment-page-1/#comment-6467</link>
		<dc:creator>Noel Rappin</dc:creator>
		<pubDate>Fri, 15 May 2009 22:06:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=2453#comment-6467</guid>
		<description>@Derek It&#039;s interesting that often when I write about TDD, somebody will mention the cult of Rails testing.

It&#039;s interesting, because I&#039;ve been doing TDD since about 2000, and had written xUnit style tests in at least six different programming languages before I even touched Rails. Okay, that sounds whiney, but the point still holds, my TDD advocacy only overlaps with my Rails advocacy in that Rails was designed to be a very friendly environment for testers.</description>
		<content:encoded><![CDATA[<p>@Derek It&#8217;s interesting that often when I write about TDD, somebody will mention the cult of Rails testing.</p>
<p>It&#8217;s interesting, because I&#8217;ve been doing TDD since about 2000, and had written xUnit style tests in at least six different programming languages before I even touched Rails. Okay, that sounds whiney, but the point still holds, my TDD advocacy only overlaps with my Rails advocacy in that Rails was designed to be a very friendly environment for testers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Neighbors</title>
		<link>http://www.pathf.com/blogs/2009/05/rails-testing-frequently-asked-questions-the-non-code-version/comment-page-1/#comment-6465</link>
		<dc:creator>Derek Neighbors</dc:creator>
		<pubDate>Fri, 15 May 2009 21:12:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=2453#comment-6465</guid>
		<description>I think we have to be careful to not start a &quot;test for testing&#039;s sake&quot; movement.  The cult of rails likes to rush to whatever kool aid du jour is being poured out, but sometimes kool aid can kill you.

To be clear,  I am a huge proponent of TDD/BDD and think that code should be tested, but I also think unless you know why you are testing you should ask answer that question before continuing. :)</description>
		<content:encoded><![CDATA[<p>I think we have to be careful to not start a &#8220;test for testing&#8217;s sake&#8221; movement.  The cult of rails likes to rush to whatever kool aid du jour is being poured out, but sometimes kool aid can kill you.</p>
<p>To be clear,  I am a huge proponent of TDD/BDD and think that code should be tested, but I also think unless you know why you are testing you should ask answer that question before continuing. <img src='http://www.pathf.com/blogs/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Vincent</title>
		<link>http://www.pathf.com/blogs/2009/05/rails-testing-frequently-asked-questions-the-non-code-version/comment-page-1/#comment-6464</link>
		<dc:creator>Chris Vincent</dc:creator>
		<pubDate>Fri, 15 May 2009 18:50:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=2453#comment-6464</guid>
		<description>That&#039;s a pretty good rundown. Excellent point about using tools because you need them, not just because they are the new hotness (not that it&#039;s necessarily a bad idea to keep up with such things).

I recently wrote up a detailed breakdown of my own TDD setup with explanations of why I use what; maybe someone will find it useful:
http://code.isdangero.us/posts/My-test-driven-Ruby-setup

The post includes a subheading &quot;TATFT?&quot; wherein I question the notion of 100% test coverage. I think, as you put it, it&#039;s really a question left for each developer or team to consider on a case-by-case basis. I think the line is still being drawn on this matter, and the true answer certainly won&#039;t lie in overzealousness nor in a lack of testing altogether.</description>
		<content:encoded><![CDATA[<p>That&#8217;s a pretty good rundown. Excellent point about using tools because you need them, not just because they are the new hotness (not that it&#8217;s necessarily a bad idea to keep up with such things).</p>
<p>I recently wrote up a detailed breakdown of my own TDD setup with explanations of why I use what; maybe someone will find it useful:<br />
<a href="http://code.isdangero.us/posts/My-test-driven-Ruby-setup" rel="nofollow">http://code.isdangero.us/posts/My-test-driven-Ruby-setup</a></p>
<p>The post includes a subheading &#8220;TATFT?&#8221; wherein I question the notion of 100% test coverage. I think, as you put it, it&#8217;s really a question left for each developer or team to consider on a case-by-case basis. I think the line is still being drawn on this matter, and the true answer certainly won&#8217;t lie in overzealousness nor in a lack of testing altogether.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.260 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-03-22 02:36:00 -->
