<?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>/var/log/tumbles &#187; tdd</title>
	<atom:link href="http://tumblelog.dhananjaynene.com/tag/tdd/feed/" rel="self" type="application/rss+xml" />
	<link>http://tumblelog.dhananjaynene.com</link>
	<description>Interesting gatherings from the web</description>
	<lastBuildDate>Mon, 13 Apr 2009 09:15:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Unit testing is doomed when it’s an elephant</title>
		<link>http://tumblelog.dhananjaynene.com/2008/08/unit-testing-is-doomed-when-it%e2%80%99s-an-elephant/</link>
		<comments>http://tumblelog.dhananjaynene.com/2008/08/unit-testing-is-doomed-when-it%e2%80%99s-an-elephant/#comments</comments>
		<pubDate>Fri, 29 Aug 2008 22:25:14 +0000</pubDate>
		<dc:creator>Dhananjay Nene</dc:creator>
				<category><![CDATA[Interesting]]></category>
		<category><![CDATA[tdd]]></category>

		<guid isPermaLink="false">http://tumblelog.dhananjaynene.com/?p=112</guid>
		<description><![CDATA[The Disco Blog » Blog Archive » Unit testing is doomed when it’s an elephant. Very nice commentary on why it is difficult to take up automated unit testing in many shops (with a slight focus on Java shops) The question remains, however; is unit testing doomed? The answer to this question, of course, depends [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://thediscoblog.com/2008/08/29/unit-testing-is-doomed-when-its-an-elephant/">The Disco Blog » Blog Archive » Unit testing is doomed when it’s an elephant</a>.</p>
<p>Very nice commentary on why it is difficult to take up automated unit testing in many shops (with a slight focus on Java shops)</p>
<blockquote><p>The question remains, however; is unit testing doomed? The answer to this question, of course, depends on your point of view, baby– or more precisely, what kind of development you are currently performing. For, as Andrew noted, if you are currently practicing Agile development, where unit testing has taken a strong hold and where “developers write hundreds of small tests for exercising their own code” the answer to the former question is a resounding no!</p></blockquote>
<p>&#8230;</p>
<blockquote><p>The reality of the Java market though, is that there is an entire throng of people who didn’t (or couldn’t) jump on the JUnit bandwagon all those years ago– this crowd is largely maintaining enterprise applications that are, simply put, incredibly hard to unit test, man. In these organizations, I have found that, more often than not, this is where the battle for tried and true unit testing is being lost.</p></blockquote>
<p>&#8230;</p>
<blockquote><p>Think about it for a second– unit testing is the elephant in the room. You’ve just been asked to eat it. But you can’t just take a steak knife and fork and start eating– the elephant is still alive looking right at you. No, you’ve got to first kill it, cut it up, cook it, etc. No wonder few people eat the elephant. Burger King is around the corner! No wonder unit testing often times seems doomed. We have a QA team that finds bugs!</p>
<p>Indubitably, these development teams are forced to rely on late cycle testing or at best, in the short term, can of course build up a hip suite of higher level tests. As a matter of fact, this is probably the best place to start! Can’t isolate that <code>Account</code> object for unit testing? No problem, bite the bullet and code an integration test– just make sure you <a href="http://www.ibm.com/developerworks/java/library/j-cq09266.html">realize you’ve got to handle the myriad dependencies</a> associated with that business transaction (think a properly seeded database, etc).</p></blockquote>
<p>&#8230;</p>
<blockquote><p>As I said, if unit testing, as it is defined within the context of TDD, is an elephant for you and your organization, then it</p>
<p>is likely to remain a niche solution, found at organizations that really understand its value and progressively adopted by sites that can no longer stand the long debug cycles.</p>
<p>The answer to most questions depends on your point of view– if you are working on a team that has embraced agile principles, unit testing is alive and well. It’s a healthy practice that when questioned brings extreme consternation to those who’ve drank the Kool-Aid.</p>
<p>If you find yourself working on a legacy code base, your answer might be somewhat different– indeed, unit testing in these cases is not as easy as downloading JUnit and coding away. It’s a sizable elephant that a culture has to collectively figure out how to eat. And that takes time, commitment, and a lot of discipline. If you can’t get a handle on those three aspects, then yes, unit testing is doomed. Can you dig it, man?</p>
<p><a href="http://thediscoblog.com/2008/08/29/unit-testing-is-doomed-when-its-an-elephant/"><br />
</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://tumblelog.dhananjaynene.com/2008/08/unit-testing-is-doomed-when-it%e2%80%99s-an-elephant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yet another case to support automated testing ?</title>
		<link>http://tumblelog.dhananjaynene.com/2008/08/yet-another-case-to-support-automated-testing/</link>
		<comments>http://tumblelog.dhananjaynene.com/2008/08/yet-another-case-to-support-automated-testing/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 13:21:17 +0000</pubDate>
		<dc:creator>Dhananjay Nene</dc:creator>
				<category><![CDATA[Interesting]]></category>
		<category><![CDATA[tdd]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://dhananjay-nene.tumblr.com/post/47090253</guid>
		<description><![CDATA[Yet another case to support automated testing ? I don’t have even the remotest clue of what is likely to have gone wrong here .. but just seems to prima facie suggest one more situation where sites in production requiring to have automated test cases to help test all upgrades. PS : This group seems to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://getsatisfaction.com/linkedin/topics/new_linkedin_group_issues">Yet another case to support automated testing ?</a></p>
<p>I don’t have even the remotest clue of what is likely to have gone wrong here .. but just seems to prima facie suggest one more situation where sites in production requiring to have automated test cases to help test all upgrades.</p>
<p>PS : This group seems to have a nice feature indicating the user sentiments &#8211; smileys (or should we call it frowneys)</p>
]]></content:encoded>
			<wfw:commentRss>http://tumblelog.dhananjaynene.com/2008/08/yet-another-case-to-support-automated-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

