<?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: Don&#8217;t Unit Test? Start Counting Your &#8220;Oh Shits!&#8221;</title>
	<atom:link href="http://www.codesqueeze.com/dont-unit-test-start-counting-your-oh-shits/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codesqueeze.com/dont-unit-test-start-counting-your-oh-shits/</link>
	<description>Ideas for building efficient developers and software</description>
	<lastBuildDate>Mon, 30 Jan 2012 11:03:44 -0500</lastBuildDate>
	
	<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: Caffeinated Coder &#62;&#62; Russell Ball &#187; The November 2007 Caffeinated Codey Winners Are&#8230;</title>
		<link>http://www.codesqueeze.com/dont-unit-test-start-counting-your-oh-shits/#comment-972</link>
		<dc:creator>Caffeinated Coder &#62;&#62; Russell Ball &#187; The November 2007 Caffeinated Codey Winners Are&#8230;</dc:creator>
		<pubDate>Tue, 15 Jan 2008 04:41:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.codesqueeze.com/dont-unit-test-start-counting-your-oh-shits/#comment-972</guid>
		<description>[...] Most Persuasive TDD argument&#8230;Max Pool for his post Don’t Unit Test? Start Counting Your “Oh Shits!&#8221;. I had to quit counting my own exclamations after a few hours because I ran out of fingers and toes, [...]</description>
		<content:encoded><![CDATA[<p>[...] Most Persuasive TDD argument&#8230;Max Pool for his post Don’t Unit Test? Start Counting Your “Oh Shits!&#8221;. I had to quit counting my own exclamations after a few hours because I ran out of fingers and toes, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Caffeinated Coder &#187; Blog Archive &#187; 2007 Caffeinated Codey Final Showdown</title>
		<link>http://www.codesqueeze.com/dont-unit-test-start-counting-your-oh-shits/#comment-955</link>
		<dc:creator>Caffeinated Coder &#187; Blog Archive &#187; 2007 Caffeinated Codey Final Showdown</dc:creator>
		<pubDate>Wed, 09 Jan 2008 07:07:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.codesqueeze.com/dont-unit-test-start-counting-your-oh-shits/#comment-955</guid>
		<description>[...] Pool for Don’t Unit Test? Start Counting Your “Oh Shits!&#8221; [Nov [...]</description>
		<content:encoded><![CDATA[<p>[...] Pool for Don’t Unit Test? Start Counting Your “Oh Shits!&#8221; [Nov [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Caffeinated Coder &#187; 2007 Caffeinated Codey Final Showdown</title>
		<link>http://www.codesqueeze.com/dont-unit-test-start-counting-your-oh-shits/#comment-944</link>
		<dc:creator>Caffeinated Coder &#187; 2007 Caffeinated Codey Final Showdown</dc:creator>
		<pubDate>Tue, 08 Jan 2008 06:06:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.codesqueeze.com/dont-unit-test-start-counting-your-oh-shits/#comment-944</guid>
		<description>[...] Pool for Don’t Unit Test? Start Counting Your “Oh Shits!&#8221; [Nov [...]</description>
		<content:encoded><![CDATA[<p>[...] Pool for Don’t Unit Test? Start Counting Your “Oh Shits!&#8221; [Nov [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Caffeinated Coder</title>
		<link>http://www.codesqueeze.com/dont-unit-test-start-counting-your-oh-shits/#comment-664</link>
		<dc:creator>Caffeinated Coder</dc:creator>
		<pubDate>Mon, 03 Dec 2007 13:54:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.codesqueeze.com/dont-unit-test-start-counting-your-oh-shits/#comment-664</guid>
		<description>&lt;strong&gt;The November 2007 Caffeinated Codey Winners Are...&lt;/strong&gt;

The November 2007 Caffeinated Codey Winners Are...</description>
		<content:encoded><![CDATA[<p><strong>The November 2007 Caffeinated Codey Winners Are&#8230;</strong></p>
<p>The November 2007 Caffeinated Codey Winners Are&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daily Dose of Links - 20071116 &#171; Daily Geek Bits</title>
		<link>http://www.codesqueeze.com/dont-unit-test-start-counting-your-oh-shits/#comment-572</link>
		<dc:creator>Daily Dose of Links - 20071116 &#171; Daily Geek Bits</dc:creator>
		<pubDate>Fri, 16 Nov 2007 12:43:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.codesqueeze.com/dont-unit-test-start-counting-your-oh-shits/#comment-572</guid>
		<description>[...] Don&#8217;t Unit Test? Start Counting Your &quot;Oh Shits!&quot; (via Arjan&#8217;s World) [...]</description>
		<content:encoded><![CDATA[<p>[...] Don&#8217;t Unit Test? Start Counting Your &quot;Oh Shits!&quot; (via Arjan&#8217;s World) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth Schubert</title>
		<link>http://www.codesqueeze.com/dont-unit-test-start-counting-your-oh-shits/#comment-561</link>
		<dc:creator>Seth Schubert</dc:creator>
		<pubDate>Wed, 14 Nov 2007 21:13:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.codesqueeze.com/dont-unit-test-start-counting-your-oh-shits/#comment-561</guid>
		<description>I&#039;m luckily in the position where my company has embraced automated testing - the applications I&#039;ve built over the last several months  were allowed development time to write comprehensive automated tests suites. We still have the occasional &quot;oh shit&quot; due to the fact that even good test suite with decent coverage won&#039;t catch everything, but nothing on the level of applications I&#039;ve dealt with in the past.  I can honestly say testing is worth the time from real world experience.  Just my 2 pennies ;).</description>
		<content:encoded><![CDATA[<p>I&#8217;m luckily in the position where my company has embraced automated testing &#8211; the applications I&#8217;ve built over the last several months  were allowed development time to write comprehensive automated tests suites. We still have the occasional &#8220;oh shit&#8221; due to the fact that even good test suite with decent coverage won&#8217;t catch everything, but nothing on the level of applications I&#8217;ve dealt with in the past.  I can honestly say testing is worth the time from real world experience.  Just my 2 pennies ;).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Deltener</title>
		<link>http://www.codesqueeze.com/dont-unit-test-start-counting-your-oh-shits/#comment-557</link>
		<dc:creator>Justin Deltener</dc:creator>
		<pubDate>Wed, 14 Nov 2007 17:54:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.codesqueeze.com/dont-unit-test-start-counting-your-oh-shits/#comment-557</guid>
		<description>Damn you Max. 4 oh shits in 4 hours isn&#039;t a good start to my day...especially if it even remotely implies you&#039;re right!</description>
		<content:encoded><![CDATA[<p>Damn you Max. 4 oh shits in 4 hours isn&#8217;t a good start to my day&#8230;especially if it even remotely implies you&#8217;re right!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Golick</title>
		<link>http://www.codesqueeze.com/dont-unit-test-start-counting-your-oh-shits/#comment-554</link>
		<dc:creator>James Golick</dc:creator>
		<pubDate>Wed, 14 Nov 2007 16:26:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.codesqueeze.com/dont-unit-test-start-counting-your-oh-shits/#comment-554</guid>
		<description>I think even before the &quot;oh shit&quot; moments, you&#039;re probably spending enough time manually testing your code that you would pretty much break even writing unit tests. 

At some point, after you write a portion of code, you run it. Then, you look at the results, and if something is broken, you try to fix it, and then run the code again, repeating this process until you see that the code works as expected. I would argue that the time it takes to write the unit tests is usually about equal to the time it takes to perform that manual process over and over again, not to mention the time it saves on regressions, and elsewhere.

For more on that, I wrote an essay on the topic that can be found here: http://jamesgolick.com/2007/8/28/we-dont-write-tests-there-just-isnt-time-for-luxuries</description>
		<content:encoded><![CDATA[<p>I think even before the &#8220;oh shit&#8221; moments, you&#8217;re probably spending enough time manually testing your code that you would pretty much break even writing unit tests. </p>
<p>At some point, after you write a portion of code, you run it. Then, you look at the results, and if something is broken, you try to fix it, and then run the code again, repeating this process until you see that the code works as expected. I would argue that the time it takes to write the unit tests is usually about equal to the time it takes to perform that manual process over and over again, not to mention the time it saves on regressions, and elsewhere.</p>
<p>For more on that, I wrote an essay on the topic that can be found here: <a href="http://jamesgolick.com/2007/8/28/we-dont-write-tests-there-just-isnt-time-for-luxuries" rel="nofollow">http://jamesgolick.com/2007/8/.....r-luxuries</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max Pool</title>
		<link>http://www.codesqueeze.com/dont-unit-test-start-counting-your-oh-shits/#comment-553</link>
		<dc:creator>Max Pool</dc:creator>
		<pubDate>Wed, 14 Nov 2007 14:00:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.codesqueeze.com/dont-unit-test-start-counting-your-oh-shits/#comment-553</guid>
		<description>@Neil -

This of course is why I am saying to start measuring how much time you are wasting.  It is easy to sell unit testing then when it is pitched like this:

&quot;Can I spend 40% more time building tests, so I can quit wasting 70% of my time fixing bugs that shouldn&#039;t have occurred?&quot;</description>
		<content:encoded><![CDATA[<p>@Neil -</p>
<p>This of course is why I am saying to start measuring how much time you are wasting.  It is easy to sell unit testing then when it is pitched like this:</p>
<p>&#8220;Can I spend 40% more time building tests, so I can quit wasting 70% of my time fixing bugs that shouldn&#8217;t have occurred?&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil Barnwell</title>
		<link>http://www.codesqueeze.com/dont-unit-test-start-counting-your-oh-shits/#comment-551</link>
		<dc:creator>Neil Barnwell</dc:creator>
		<pubDate>Wed, 14 Nov 2007 11:31:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.codesqueeze.com/dont-unit-test-start-counting-your-oh-shits/#comment-551</guid>
		<description>Of course the really hard bit is starting to add unit tests to that huge application you already have, that&#039;s not written with unit testing in mind.  You start to need to count the &quot;Oh shit, I could&#039;ve avoided this with a unit test&quot; separate from &quot;Oh shit, if only this system didn&#039;t need re-writing to be able to unit test it.&quot;.

I think there is a separate group of people in addition to the &quot;unit tests are part of my day&quot; and &quot;I don&#039;t have time for unit tests&quot;, who are the ones that find it hard to convince their bosses/customers they now need 40% more time to develop those changes.

And at what point is the amount of refactoring that&#039;s required to implement unit tests into existing code more risky than not having the unit tests.  Does that depend on when you&#039;re planning on making it a legacy application?

As always, putting unit tests into new code is far easier than trying to unit test existing code that wasn&#039;t written with IOC etc in mind.  Decisions, decisions...</description>
		<content:encoded><![CDATA[<p>Of course the really hard bit is starting to add unit tests to that huge application you already have, that&#8217;s not written with unit testing in mind.  You start to need to count the &#8220;Oh shit, I could&#8217;ve avoided this with a unit test&#8221; separate from &#8220;Oh shit, if only this system didn&#8217;t need re-writing to be able to unit test it.&#8221;.</p>
<p>I think there is a separate group of people in addition to the &#8220;unit tests are part of my day&#8221; and &#8220;I don&#8217;t have time for unit tests&#8221;, who are the ones that find it hard to convince their bosses/customers they now need 40% more time to develop those changes.</p>
<p>And at what point is the amount of refactoring that&#8217;s required to implement unit tests into existing code more risky than not having the unit tests.  Does that depend on when you&#8217;re planning on making it a legacy application?</p>
<p>As always, putting unit tests into new code is far easier than trying to unit test existing code that wasn&#8217;t written with IOC etc in mind.  Decisions, decisions&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

