<?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"
	>
<channel>
	<title>Comments on: Properties of Good Tests: A-TRIP</title>
	<atom:link href="http://www.cavdar.net/2008/10/25/properties-of-good-tests-a-trip/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cavdar.net/2008/10/25/properties-of-good-tests-a-trip/</link>
	<description>Tech, Internet, Engineering and Life Blog</description>
	<pubDate>Mon, 06 Sep 2010 07:32:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: A blind spot of Continuous Integration &#171; Schneide Blog</title>
		<link>http://www.cavdar.net/2008/10/25/properties-of-good-tests-a-trip/#comment-215</link>
		<dc:creator>A blind spot of Continuous Integration &#171; Schneide Blog</dc:creator>
		<pubDate>Mon, 28 Dec 2009 21:34:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.cavdar.net/?p=340#comment-215</guid>
		<description>[...] are rules for good unit tests. A basic set are the A-TRIP rules formulated in the excellent beginner&#8217;s book &#8220;Pragmatic Unit Testing&#8221; by Andy Hunt [...]</description>
		<content:encoded><![CDATA[<p>[...] are rules for good unit tests. A basic set are the A-TRIP rules formulated in the excellent beginner&#8217;s book &#8220;Pragmatic Unit Testing&#8221; by Andy Hunt [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Azauskas</title>
		<link>http://www.cavdar.net/2008/10/25/properties-of-good-tests-a-trip/#comment-121</link>
		<dc:creator>Azauskas</dc:creator>
		<pubDate>Fri, 31 Oct 2008 13:14:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.cavdar.net/?p=340#comment-121</guid>
		<description>Thank you..Viva TDD :)</description>
		<content:encoded><![CDATA[<p>Thank you..Viva TDD <img src='http://www.cavdar.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mstf</title>
		<link>http://www.cavdar.net/2008/10/25/properties-of-good-tests-a-trip/#comment-116</link>
		<dc:creator>mstf</dc:creator>
		<pubDate>Sun, 26 Oct 2008 08:18:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.cavdar.net/?p=340#comment-116</guid>
		<description>nice,thanks.
from my experiences,i also have some practical advise addition to cetin(especially for C   programmers)

**unit tests should be written just for public methods, if you need to write test for a private method,check your classes again.

**do not forget to test copy constructors

TestC1_Method
{
C1* pInst_c1 = new C1(); //C1 is a class
C1* pInst_c2 = new C1();

pInst_c1-&#62;DoSomeStateChange;

pInst_c2 = pInst_c1; --&#62;everything is fine?

delete pInst_c1;

pInst_c2-&#62;RunYourMethods --&#62;is it ok?
}

But these are for the cases you have time,if you don't have and your supervisor waits for release,fuck it.just write your code :) cause money is important :)</description>
		<content:encoded><![CDATA[<p>nice,thanks.<br />
from my experiences,i also have some practical advise addition to cetin(especially for C   programmers)</p>
<p>**unit tests should be written just for public methods, if you need to write test for a private method,check your classes again.</p>
<p>**do not forget to test copy constructors</p>
<p>TestC1_Method<br />
{<br />
C1* pInst_c1 = new C1(); //C1 is a class<br />
C1* pInst_c2 = new C1();</p>
<p>pInst_c1-&gt;DoSomeStateChange;</p>
<p>pInst_c2 = pInst_c1; &#8211;&gt;everything is fine?</p>
<p>delete pInst_c1;</p>
<p>pInst_c2-&gt;RunYourMethods &#8211;&gt;is it ok?<br />
}</p>
<p>But these are for the cases you have time,if you don&#8217;t have and your supervisor waits for release,fuck it.just write your code <img src='http://www.cavdar.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> cause money is important <img src='http://www.cavdar.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>
