<?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>Code Couch &#187; Testing</title>
	<atom:link href="http://www.codecouch.com/tag/testing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codecouch.com</link>
	<description>The ramblings of two code monkeys</description>
	<lastBuildDate>Thu, 19 Nov 2009 15:47:59 +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>When is a task considered to be Done?</title>
		<link>http://www.codecouch.com/2007/07/when-is-a-task-considered-to-be-done/</link>
		<comments>http://www.codecouch.com/2007/07/when-is-a-task-considered-to-be-done/#comments</comments>
		<pubDate>Tue, 31 Jul 2007 08:57:51 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Agile]]></category>
		<category><![CDATA[Testing]]></category>

		<guid isPermaLink="false">http://www.codecouch.com/?p=99</guid>
		<description><![CDATA[When is some code considered to be Done? Is it Done when you have finished writing the code? When you have finished testing the code? What has to happen to a story/task before it is allowed to be called Done?]]></description>
			<content:encoded><![CDATA[<p>In recent <a href="http://www.think-box.co.uk/blog/2006/09/agile-pick-and-mix.html">Agile</a> projects I have been involved with, we often talk about the word “Done”. Specifically we are talking about when a task/story that you are working on is finished.</p>
<p>I heard someone in my team say that “it isn’t Done until it’s in the green column” &#8211; referring to the colour-coded columns we move story/task cards through as we take them from the “holding pen” through “development” (red), “ui review” (yellow), “customer preview” (orange) and “qa” (blue) to “done” (green).</p>
<p>So when is something considered to be Done? Is it Done when you have finished writing the code? When you have finished testing the code? What has to happen to a story/task before it is allowed to make the green column and be called Done?</p>
<p>My definition of Done:</p>
<ul>
<li>All code has been developed using <a href="http://www.extremeprogramming.org/rules/pair.html">Pair Programming</a> or Peer Review</li>
<li>The acceptance criteria for the story/task have all been met <b>to the customer’s</b> satisfaction</li>
<li><a href="http://en.wikipedia.org/wiki/Unit_testing">Unit tests</a> have been written that test the code and document it’s functionality</li>
<li>Supporting acceptance tests that support the acceptance criteria (negotiated with <acronym title="Quality Assurance">QA</acronym>)</li>
<li>The code is checked in to the build server &#8211; and all the tests continue to pass</li>
<li>Any <acronym title="Quality Assurance">QA</acronym> issues are resolved (which may necessitate returning the story/task to development again)</li>
</ul>
<p>Of course each story/task will have a different path to Done, and some will take a shorter route than others &#8211; but the definition criteria above should remain constant for all. If you make sure your stories/tasks follow this prescribed course to Done, you will have less “returns” later on and produce better quality code from day one.</p>
<p>You will! Try it and see.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codecouch.com/2007/07/when-is-a-task-considered-to-be-done/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
