<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

			<channel>
			<title>Phillip&apos;s ColdFusion Blog - TDD</title>
			<link>http://www.phillipciske.com/blog/index.cfm</link>
			<description>createObject(&quot;component&quot;, &quot;YetAnotherCFBlog&quot;).init()</description>
			<language>en-us</language>
			<pubDate>Sun, 05 Sep 2010 00:48:08 -0700</pubDate>
			<lastBuildDate>Wed, 22 Jul 2009 10:25:00 -0700</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>pciske@gmail.com</managingEditor>
			<webMaster>pciske@gmail.com</webMaster>
			<itunes:subtitle></itunes:subtitle>
			<itunes:summary></itunes:summary>
			<itunes:category text="Technology" />
			<itunes:category text="Technology">
				<itunes:category text="Podcasting" />
			</itunes:category>
			<itunes:category text="Technology">
				<itunes:category text="Tech News" />
			</itunes:category>
			<itunes:keywords></itunes:keywords>
			<itunes:author></itunes:author>
			<itunes:owner>
				<itunes:email>pciske@gmail.com</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			<itunes:image href="" />
			<image>
				<url></url>
				<title>Phillip&apos;s ColdFusion Blog</title>
				<link>http://www.phillipciske.com/blog/index.cfm</link>
			</image>
			<itunes:explicit>no</itunes:explicit>
			
			<item>
				<title>First Steps into Test Driven Development with Red Green Refactor</title>
				<link>http://www.phillipciske.com/blog/index.cfm/2009/7/22/First-Steps-into-Test-Driven-Development-with-Red-Green-Refactor</link>
				<description>
				
				I (finally) took my first dive into test driven development (TDD) with a personal project I recently started. I admit, the first thought that came to mind when I first read about the red/green/refactor process included a man,  flannel, and duct tape. ;-) 

I decided to use &lt;a href=&quot;http://www.mxunit.org/&quot;&gt;MXUnit&lt;/a&gt; for my unit test framework. Using the Eclipse plugin made running the tests very easy.

Instead, the hardest part for me was fighting the impulse to just write code. Red/green/refactor is all about first writing the test, watching it fail, then writing the code. Test, fail, code, and repeat until the test passes. Several times I caught myself writing code outside of the confines of the current test case. It was far too tempting to listen to the little voice that says, &quot;It will be easy to add this feature too. The template is open anyway.&quot;

Writing the tests first was also a challenge. I had to sit back and really think about what behaviors and data my user bean would contain. I actually had to formulate a plan before coding! Time to practice what I preach about on almost a daily basis at my paying job.

I have yet to get to a true refactor stage, but I imagine it will be soon. It is too early in the unit testing and coding phase to have enough code to refactor. 
				</description>
				
				<category>TDD</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 22 Jul 2009 10:25:00 -0700</pubDate>
				<guid>http://www.phillipciske.com/blog/index.cfm/2009/7/22/First-Steps-into-Test-Driven-Development-with-Red-Green-Refactor</guid>
				
				
			</item>
			</channel></rss>