<?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>Cthulhu and other crazies &#187; Software testing</title>
	<atom:link href="http://swizec.com/blog/tag/software-testing/feed" rel="self" type="application/rss+xml" />
	<link>http://swizec.com/blog</link>
	<description>A blog about life, the universe and everything else</description>
	<lastBuildDate>Fri, 03 Sep 2010 11:57:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The ten pros and cons of unit testing</title>
		<link>http://swizec.com/blog/the-ten-pros-and-cons-of-unit-testing/swizec/679</link>
		<comments>http://swizec.com/blog/the-ten-pros-and-cons-of-unit-testing/swizec/679#comments</comments>
		<pubDate>Tue, 04 Aug 2009 11:46:20 +0000</pubDate>
		<dc:creator>Swizec</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software testing]]></category>
		<category><![CDATA[Twitulater]]></category>
		<category><![CDATA[unit test]]></category>

		<guid isPermaLink="false">http://swizec.com/blog/?p=679</guid>
		<description><![CDATA[



Image by ecstaticist via Flickr



Some of you may remember my writing about how unit testing is anti-productive and those of you I have to disapoint, I still dont&#8217; think it&#8217;s the best productivity tool out there.
BUT!
The past few days I had another go at unit testing while developing a &#8220;server&#8221; for gathering statistics on how [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img" style="display: block; width: 250px; margin: 1em; float: right;">
<div>
<dl class="wp-caption alignright" style="width: 250px;">
<dt class="wp-caption-dt"><a href="http://www.flickr.com/photos/41864721@N00/3788230354/"><img title="Last Act of the Fallen" src="http://farm3.static.flickr.com/2593/3788230354_c9ec0f8daa_m.jpg" alt="Last Act of the Fallen" /></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image by <a href="http://www.flickr.com/photos/41864721@N00/3788230354/">ecstaticist</a> via Flickr</dd>
</dl>
</div>
</div>
<p>Some of you may remember my writing about how <a href="http://swizec.com/blog/unit-testing-is-anti-productive/swizec/610">unit testing is anti-productive</a> and those of you I have to disapoint, I still dont&#8217; think it&#8217;s the best <a class="zem_slink" title="Productivity" rel="wikipedia" href="http://en.wikipedia.org/wiki/Productivity">productivity</a> tool out there.</p>
<p>BUT!</p>
<p>The past few days I had another go at unit testing while developing a &#8220;server&#8221; for gathering statistics on how people use <a class="zem_slink" title="Twitulater" rel="blog" href="http://twitulater.com">Twitulater</a>. This was mostly in preparation for making a &#8220;server&#8221; for syncing Twitulater users, more on that some other day, it was mostly a learning exercise.</p>
<p>What I learned was that:</p>
<ol>
<li>Unit testing is no guarantee for quality <em>(con)</em></li>
<li>Unit testing can be really cumbersome to use and more time can be spent finding a <a class="zem_slink" title="Software testing" rel="wikipedia" href="http://en.wikipedia.org/wiki/Software_testing">test</a> than solving the problem. Like for example: How do you test an app that reads from sys.stdin? <em>(con)</em></li>
<li>Unit testing only helps with bugs you&#8217;ve anticipated or found<br />
]]></content:encoded>
			<wfw:commentRss>http://swizec.com/blog/the-ten-pros-and-cons-of-unit-testing/swizec/679/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
