<?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>Rich Buggy &#187; unit testing</title>
	<atom:link href="http://buggy.id.au/tag/unit-testing/feed/" rel="self" type="application/rss+xml" />
	<link>http://buggy.id.au</link>
	<description>Developer, Manager, Entrepreneur</description>
	<lastBuildDate>Sat, 22 May 2010 12:09:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Unit tests</title>
		<link>http://buggy.id.au/2009/08/28/unit-tests/</link>
		<comments>http://buggy.id.au/2009/08/28/unit-tests/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 13:09:06 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[sydphp]]></category>
		<category><![CDATA[unit testing]]></category>

		<guid isPermaLink="false">http://www.buggy.id.au/?p=330</guid>
		<description><![CDATA[I just read a post asking if my unit test take too long. In it the author suggests that 5 minutes is long and asks if anyone has solved this problem. This reminded me of a discussion I had with some developers about 12 months ago about unit testing in which my argument was simply [...]]]></description>
			<content:encoded><![CDATA[<p>I just read a post asking if <a href="http://www.advogato.org/person/robertc/diary/111.html">my unit test take too long</a>. In it the author suggests that 5 minutes is long and asks if anyone has solved this problem. This reminded me of a discussion I had with some developers about 12 months ago about unit testing in which my argument was simply that unit tests need to be comprehensive and not necessarily quick.</p>
<p>There are many projects where the unit tests take several hours to run. This shouldn&#8217;t matter during development when you&#8217;re probably only interested in a few unit tests as most test tools provide a way to filter the tests that are run. You only need to run the entire test suite prior to committing or during continuous integration.</p>
<p>Having said all of that I can recommend using memory tables if your database supports them. The operations are generally a lot faster as the database doesn&#8217;t need to write to disk.</p>
]]></content:encoded>
			<wfw:commentRss>http://buggy.id.au/2009/08/28/unit-tests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
