<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ThotSpots &#187; TDD</title>
	<atom:link href="http://www.thotspots.com/tag/tdd/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thotspots.com</link>
	<description>Agile Software Development</description>
	<lastBuildDate>Wed, 09 Sep 2009 18:13:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>TDD Solves the Blank Page Syndrome</title>
		<link>http://www.thotspots.com/tdd-solves-the-blank-page-syndrome/</link>
		<comments>http://www.thotspots.com/tdd-solves-the-blank-page-syndrome/#comments</comments>
		<pubDate>Sun, 04 Feb 2007 02:31:48 +0000</pubDate>
		<dc:creator>Craig Jones</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[design principles]]></category>
		<category><![CDATA[TDD]]></category>
		<category><![CDATA[test-driven]]></category>
		<category><![CDATA[unit testing]]></category>

		<guid isPermaLink="false">http://www.thotspots.com/?p=20</guid>
		<description><![CDATA[In my personal blog I wrote about how the blank page syndrome can lead to <a HREF="http://tankardsaweigh.blogspot.com/2007/02/stupid-procrastination-advice.html">procrastination</a>.  I gave an example of how it's often difficult to know where to start when faced with a vaguely written bug report or an enhancement request.  I suggested that one way to gain clarity is]]></description>
			<content:encoded><![CDATA[<p>In my personal blog I wrote about how the blank page syndrome can lead to <a href="http://tankardsaweigh.blogspot.com/2007/02/stupid-procrastination-advice.html">procrastination</a>.  I gave an example of how it&#8217;s often difficult to know where to start when faced with a vaguely written bug report or an enhancement request.  I suggested that one way to gain clarity is<!--break--> to skip ahead to writing the bug-resolution documentation as if you had already done the work.  What will be the instructions to the end user on how to take advantage of this change?</p>
<p>Quoting myself, &#8220;Then, as I do the work for real, it gives me an acid test to know if I&#8217;m on the right track. In other words, does the software now work as advertised? A side benefit of this end-first exercise is that it often reveals latent issues and questions for which I have no answers. It also helps me to enumerate any assumptions that I&#8217;ve been making, which perhaps ought to be validated.&#8221;</p>
<p>This is a very much akin to Test-First Development (a.k.a. Test-Driven Development, or TDD for short), of which I am a huge proponent.  I&#8217;d almost say that what I described above is a poor man&#8217;s version of TDD, except that there is no cost to doing TDD.  Unit testing tools are free for the asking.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thotspots.com/tdd-solves-the-blank-page-syndrome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wax On, Wax Off &#8212; Red Bar, Green Bar</title>
		<link>http://www.thotspots.com/wax-on-wax-off-a%c2%a2a%e2%80%9a%c2%acaeoe-red-bar-green-bar/</link>
		<comments>http://www.thotspots.com/wax-on-wax-off-a%c2%a2a%e2%80%9a%c2%acaeoe-red-bar-green-bar/#comments</comments>
		<pubDate>Mon, 29 May 2006 04:05:29 +0000</pubDate>
		<dc:creator>Craig Jones</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[TDD]]></category>
		<category><![CDATA[test-driven]]></category>
		<category><![CDATA[unit testing]]></category>

		<guid isPermaLink="false">http://www.thotspots.com/?p=12</guid>
		<description><![CDATA[[This originally appeared in my personal blog on 6/29/2005.  Reposted by request.]

TDD has become as automatic for me as breathing.  ItÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢s a beautiful thing when you get to start a new project from scratch and can write every line of code test-first.  These days, however, IÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢m working on a legacy app with very little in the way of unit tests, and it feels as if IÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢m working at 5,000 meters above sea level and struggling for every breath of rarified atmosphere.

So I can only imagine how it seems to the rest of my team, for whom automated unit testing is a new concept.  The level of drudgery involved in retrofitting a legacy app with a test harness rivals the chore of waxing Mr. MiyagiÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢s deck.  All I can tell my teammates is that itÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢s good practice.  Soon, writing unit tests becomes a habit, and then, eventually, it becomes pure instinct.  Attack from the right?  Wax On!  Attack from the left? Wax Off!  Add a new feature?  HTTP-Unit!  Change a business rule?  JUnit!  Keep it up, and that black belt will arrive in no time.]]></description>
			<content:encoded><![CDATA[<p>[This originally appeared in my personal blog on 6/29/2005.  Reposted by request.]</p>
<p>TDD has become as automatic for me as breathing.  It&#8217;s a beautiful thing when you get to start a new project from scratch and can write every line of code test-first.  These days, however, I&#8217;m working on a legacy app with very little in the way of unit tests, and it feels as if I&#8217;m working at 5,000 meters above sea level and struggling for every breath of rarefied atmosphere.<br />
<span id="more-12"></span><br />
So I can only imagine how it seems to the rest of my team, for whom automated unit testing is a new concept.  The level of drudgery involved in retrofitting a legacy app with a test harness rivals the chore of waxing Mr. Miyagi&#8217;s deck.  All I can tell my teammates is that it&#8217;s good practice.   Soon, writing unit tests becomes a habit, and then, eventually, it becomes pure instinct.  Attack from the right?  Wax On!  Attack from the left? Wax Off!  Add a new feature?  HTTP-Unit!  Change a business rule?  JUnit!  Keep it up, and that black belt will arrive in no time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thotspots.com/wax-on-wax-off-a%c2%a2a%e2%80%9a%c2%acaeoe-red-bar-green-bar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
