<?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: Some thoughts on unit tests</title>
	<atom:link href="http://andrewmccall.com/2009/07/some-thoughts-on-unit-tests/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrewmccall.com/2009/07/some-thoughts-on-unit-tests/</link>
	<description>If you want to know what I think...</description>
	<lastBuildDate>Tue, 02 Mar 2010 12:33:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: stack</title>
		<link>http://andrewmccall.com/2009/07/some-thoughts-on-unit-tests/comment-page-1/#comment-93</link>
		<dc:creator>stack</dc:creator>
		<pubDate>Sat, 17 Oct 2009 00:33:24 +0000</pubDate>
		<guid isPermaLink="false">http://andrewmccall.com/?p=417#comment-93</guid>
		<description>Andrew:  You mentioned making up mock objects for hbase.  Can I see what you did?  Trying to make the hbase tests run faster overall...  Thanks.  St.Ack</description>
		<content:encoded><![CDATA[<p>Andrew:  You mentioned making up mock objects for hbase.  Can I see what you did?  Trying to make the hbase tests run faster overall&#8230;  Thanks.  St.Ack</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Hunsley</title>
		<link>http://andrewmccall.com/2009/07/some-thoughts-on-unit-tests/comment-page-1/#comment-67</link>
		<dc:creator>John Hunsley</dc:creator>
		<pubDate>Thu, 09 Jul 2009 18:57:31 +0000</pubDate>
		<guid isPermaLink="false">http://andrewmccall.com/?p=417#comment-67</guid>
		<description>Some rules I apply when writing unit test -&lt;br&gt;&lt;br&gt;1. Never write tests which rely on a resource outside of the code you&#039;re testing. i.e. Make mock objects for DAO&#039;s and stubs for external resources such as a web service end point.&lt;br&gt;&lt;br&gt;2. Only test business logic. There&#039;s no point writing a test case which tests getters and setters, as you&#039;ve said, and no point testing that framework you are using does the job it is supposed to do, that should be tested within that framework project itself.</description>
		<content:encoded><![CDATA[<p>Some rules I apply when writing unit test -</p>
<p>1. Never write tests which rely on a resource outside of the code you&#39;re testing. i.e. Make mock objects for DAO&#39;s and stubs for external resources such as a web service end point.</p>
<p>2. Only test business logic. There&#39;s no point writing a test case which tests getters and setters, as you&#39;ve said, and no point testing that framework you are using does the job it is supposed to do, that should be tested within that framework project itself.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
