<?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: Day 5: Write a Unit Test Before Coding</title>
	<atom:link href="http://coliveira.net/software/day-5-write-a-unit-test-before-coding/feed/" rel="self" type="application/rss+xml" />
	<link>http://coliveira.net/software/day-5-write-a-unit-test-before-coding/</link>
	<description>by Carlos Oliveira</description>
	<lastBuildDate>Tue, 15 May 2012 01:46:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Mangola</title>
		<link>http://coliveira.net/software/day-5-write-a-unit-test-before-coding/comment-page-1/#comment-297</link>
		<dc:creator>Mangola</dc:creator>
		<pubDate>Sun, 12 Jul 2009 08:11:58 +0000</pubDate>
		<guid isPermaLink="false">http://coliveira.net/?p=363#comment-297</guid>
		<description>Thanks for the interesting information.</description>
		<content:encoded><![CDATA[<p>Thanks for the interesting information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bharat Kondeti</title>
		<link>http://coliveira.net/software/day-5-write-a-unit-test-before-coding/comment-page-1/#comment-170</link>
		<dc:creator>Bharat Kondeti</dc:creator>
		<pubDate>Sun, 07 Jun 2009 00:31:38 +0000</pubDate>
		<guid isPermaLink="false">http://coliveira.net/?p=363#comment-170</guid>
		<description>This is where many people miss the point. Tests are not written for Test Coverage, Tests are written to test the actual functionality of the code. This can only be achieved by writing tests first. 
Writing tests first will make you write only necessary code.
Writing tests first and giving proper names will help you write less/no comments in the code. Just by reading test case names you should be able to understand functionality of the code.
Writing code is different from writing testable code. Its a different mind set and writing tests first will help you to write testable code.
Writing tests first will help you to refactor code with confidence.
Just remember the mantra &#039;Red Green Refactor, Red Green Refactor.........&#039;</description>
		<content:encoded><![CDATA[<p>This is where many people miss the point. Tests are not written for Test Coverage, Tests are written to test the actual functionality of the code. This can only be achieved by writing tests first.<br />
Writing tests first will make you write only necessary code.<br />
Writing tests first and giving proper names will help you write less/no comments in the code. Just by reading test case names you should be able to understand functionality of the code.<br />
Writing code is different from writing testable code. Its a different mind set and writing tests first will help you to write testable code.<br />
Writing tests first will help you to refactor code with confidence.<br />
Just remember the mantra &#8216;Red Green Refactor, Red Green Refactor&#8230;&#8230;&#8230;&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://coliveira.net/software/day-5-write-a-unit-test-before-coding/comment-page-1/#comment-164</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Thu, 04 Jun 2009 23:17:12 +0000</pubDate>
		<guid isPermaLink="false">http://coliveira.net/?p=363#comment-164</guid>
		<description>I still think it is necessary to write tests, at the same time as coding.  One of the aims of unit tests is code coverage, particularly decision coverage.  You can&#039;t really achieve this if unit tests are written prior to coding.</description>
		<content:encoded><![CDATA[<p>I still think it is necessary to write tests, at the same time as coding.  One of the aims of unit tests is code coverage, particularly decision coverage.  You can&#8217;t really achieve this if unit tests are written prior to coding.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ondra "Satai" Nekola</title>
		<link>http://coliveira.net/software/day-5-write-a-unit-test-before-coding/comment-page-1/#comment-162</link>
		<dc:creator>Ondra "Satai" Nekola</dc:creator>
		<pubDate>Thu, 04 Jun 2009 20:56:57 +0000</pubDate>
		<guid isPermaLink="false">http://coliveira.net/?p=363#comment-162</guid>
		<description>...and write your tests after coding. When you discover a bug, write a test scenario, that fails for such a situation. When the bug is fixed, you are safe from regression.</description>
		<content:encoded><![CDATA[<p>&#8230;and write your tests after coding. When you discover a bug, write a test scenario, that fails for such a situation. When the bug is fixed, you are safe from regression.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

