<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>jvoorhis comments on Is your test suite valuable?</title>
    <link>http://www.jvoorhis.com/</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>jvoorhis comments</description>
    <item>
      <title>"Is your test suite valuable?": comment by Jason</title>
      <description>&lt;p&gt;I really need to start testing more. Im naughty. Ok &amp;#8216;more&amp;#8217; is being nice to myself.&lt;/p&gt;</description>
      <pubDate>Wed, 23 Aug 2006 06:15:50 NZST</pubDate>
      <guid>http://www.jvoorhis.com/articles/2006/08/22/is-your-test-suite-valuable#comment-371</guid>
      <link>http://www.jvoorhis.com/articles/2006/08/22/is-your-test-suite-valuable#comment-371</link>
    </item>
    <item>
      <title>"Is your test suite valuable?": comment by Ryan Allen</title>
      <description>&lt;p&gt;Luke&amp;#8217;s 9 is a good one :)&lt;/p&gt;


	&lt;p&gt;11. Do your programmers have a panic attack 5 minutes into a refactoring?&lt;/p&gt;</description>
      <pubDate>Tue, 22 Aug 2006 22:56:35 NZST</pubDate>
      <guid>http://www.jvoorhis.com/articles/2006/08/22/is-your-test-suite-valuable#comment-370</guid>
      <link>http://www.jvoorhis.com/articles/2006/08/22/is-your-test-suite-valuable#comment-370</link>
    </item>
    <item>
      <title>"Is your test suite valuable?": comment by Eivind Uggedal</title>
      <description>&lt;p&gt;Checking in code that breaks the tests can easily be prevented with setting up hooks in you &lt;span class="caps"&gt;SCM&lt;/span&gt; that runs the tests and only accepts the commit/patch if the tests are successful.&lt;/p&gt;


	&lt;p&gt;I recently did this with Darcs, my &lt;span class="caps"&gt;SCM&lt;/span&gt; of choice easily:&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;changepref test "rake migrate &amp;#38;&amp;#38; rake"&lt;/code&gt;&lt;/p&gt;


	&lt;p&gt;This will check out all patches, inlcuding the pending one to a temp dir, and run the tests from there. If they pass, the pach gets recorded.&lt;/p&gt;</description>
      <pubDate>Tue, 22 Aug 2006 22:33:15 NZST</pubDate>
      <guid>http://www.jvoorhis.com/articles/2006/08/22/is-your-test-suite-valuable#comment-369</guid>
      <link>http://www.jvoorhis.com/articles/2006/08/22/is-your-test-suite-valuable#comment-369</link>
    </item>
    <item>
      <title>"Is your test suite valuable?": comment by Luke Redpath</title>
      <description>&lt;p&gt;9. Are your tests maintained with the same love that the rest of your production code is (aka do you recognise your tests as production code as much as the rest of it).&lt;/p&gt;


	&lt;p&gt;10. Do you start to get a funny twitch when something gets checked in that stops the tests from running.&lt;/p&gt;</description>
      <pubDate>Tue, 22 Aug 2006 13:27:15 NZST</pubDate>
      <guid>http://www.jvoorhis.com/articles/2006/08/22/is-your-test-suite-valuable#comment-368</guid>
      <link>http://www.jvoorhis.com/articles/2006/08/22/is-your-test-suite-valuable#comment-368</link>
    </item>
    <item>
      <title>"Is your test suite valuable?": comment by Aslak Hellesoy</title>
      <description>&lt;p&gt;7. Are your tests good documentation? That is, do they express intent?&lt;/p&gt;


	&lt;p&gt;8. Are your tests short?&lt;/p&gt;</description>
      <pubDate>Tue, 22 Aug 2006 12:18:55 NZST</pubDate>
      <guid>http://www.jvoorhis.com/articles/2006/08/22/is-your-test-suite-valuable#comment-367</guid>
      <link>http://www.jvoorhis.com/articles/2006/08/22/is-your-test-suite-valuable#comment-367</link>
    </item>
    <item>
      <title>"Is your test suite valuable?" by jvoorhis</title>
      <description>&lt;p&gt;Is your test suite valuable? I mean, is it actually making your code better? Answer the following questions to find out.&lt;/p&gt;


	&lt;ol&gt;
	&lt;li&gt;Are your tests inexpensive to run?&lt;/li&gt;
		&lt;li&gt;Are there any inhibitions to running your full suite of unit tests before every check-in?&lt;/li&gt;
		&lt;li&gt;Is the process of running tests uncomplicated?&lt;/li&gt;
		&lt;li&gt;Do all of your tests pass?&lt;/li&gt;
		&lt;li&gt;In practice, are your tests your first line of defense against new bugs? Ideally, you can know if you have introduced a bug within minutes.&lt;/li&gt;
		&lt;li&gt;Is test-first development actually preferred by your team? Writing tests should be rewarding.&lt;/li&gt;
	&lt;/ol&gt;

</description>
      <pubDate>Tue, 22 Aug 2006 09:39:00 NZST</pubDate>
      <guid>&lt;a href="/articles/2006/08/22/is-your-test-suite-valuable"&gt;Is your test suite valuable?&lt;/a&gt;</guid>
      <link>&lt;a href="/articles/2006/08/22/is-your-test-suite-valuable"&gt;Is your test suite valuable?&lt;/a&gt;</link>
    </item>
  </channel>
</rss>
