<?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>Agile Insider &#187; just enough</title>
	<atom:link href="http://www.agileinsider.org/tag/just-enough/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.agileinsider.org</link>
	<description>reality bytes...</description>
	<lastBuildDate>Fri, 23 Jul 2010 07:58:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Enterprise Agile &#8211; Evolutionary Standards</title>
		<link>http://www.agileinsider.org/2010/04/enterprise-agile-evolutionary-standards/</link>
		<comments>http://www.agileinsider.org/2010/04/enterprise-agile-evolutionary-standards/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 09:30:14 +0000</pubDate>
		<dc:creator>mark</dc:creator>
				<category><![CDATA[enterprise]]></category>
		<category><![CDATA[baby steps]]></category>
		<category><![CDATA[culture]]></category>
		<category><![CDATA[just enough]]></category>
		<category><![CDATA[pragmatism]]></category>
		<category><![CDATA[simplicity]]></category>

		<guid isPermaLink="false">http://www.agileinsider.org/?p=236</guid>
		<description><![CDATA[At the risk of being lambasted by the agile community I will use the words enterprise and agile in the same sentence  
This article largely follows on from some previous entries and in particular my entry on user centred test driven development.
It is often a complaint that large organisations trundle along painfully and slowly.  [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_237" class="wp-caption alignleft" style="width: 237px"><a href="http://www.agileinsider.org/wp-content/uploads/2010/04/wf-markup.png"><img class="size-full wp-image-237   " title="simple wireframe markup" src="http://www.agileinsider.org/wp-content/uploads/2010/04/wf-markup.png" alt="" width="227" height="140" /></a><p class="wp-caption-text">Low Tech Evolutionary Standards</p></div>
<p>At the <a title="risk" href="http://www.agileinsider.org/tag/risk/">risk</a> of being lambasted by the agile community I will use the words enterprise and agile in the same sentence <img src='http://www.agileinsider.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>This article largely follows on from some previous entries and in particular my entry on <a href="/2010/04/top-tips-user-centred-automated-acceptance-tests/" target="_self">user centred test driven development</a>.</p>
<p>It is often a complaint that large organisations trundle along painfully and slowly.  Work can't start without following some process or other until you have sign-off.  Part of this sign-off will probably involve agreement to follow certain standards and guidelines, but if these standards don't yet exist how can we start???</p>
<p>To challenge this and present an alternative approach, why not make the "standards" part of the delivery itself.  Make it clear up front that rather than wait for the standards to be released (which would be the normal mode of attack in large organisations) you will actively work with whichever standard's body exists in the organisation to evolve <a title="just enough" href="http://www.agileinsider.org/tag/just-enough/">just enough</a> standards to support the actual work you are doing as you work through the backlog.</p>
<p>To make this work, <strong>COURAGE </strong>is imperative...  Someone has to have the courage to put a stake in the ground early, recognising there is a small <a title="risk" href="http://www.agileinsider.org/tag/risk/">risk</a> this may change.  Developers should embed the standards into their automated testing as early as possible, this means that when and if a standard does change, there are tests in place which will assist developers in ensuring that all work to date is easily brought up to date...</p>
<p>The results of this is a<strong> design language</strong> that everyone can understand, when someone says they are writing a test which is looking for the jobs tag in the currently featured news article, everyone should know what that refers to in the wireframes, and also know how this will be identified and marked up in the implementation.  This allows tests to be written before any code and even for the final "Look And Feel" to progress alongside development.</p>
<p>Of course, you're always free to continue in the traditional model and wait for three months until the standards body within the organisation <strong>produces a 300 page guidelines document </strong>before even starting that killer new feature that will storm the market...  Or make totally random guesses, which are much more likely to be wrong, and be safe in the knowledge you have the traditional saviour of projects - Hope and Prayer!!!</p><div id="spreadx">&nbsp;<a href="http://digg.com/submit?phase=2&url=http://www.agileinsider.org/2010/04/enterprise-agile-evolutionary-standards/" target="_new"><img src="http://www.agileinsider.org/wp-content/plugins/spreadx/images/digg.gif" alt="Digg" border="0" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/share.php?u=http://www.agileinsider.org/2010/04/enterprise-agile-evolutionary-standards/" target="_new"><img src="http://www.agileinsider.org/wp-content/plugins/spreadx/images/facebook.gif" alt="Facebook" border="0" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http://www.agileinsider.org/2010/04/enterprise-agile-evolutionary-standards/&title=Enterprise+Agile+%26%238211%3B+Evolutionary+Standards" target="_new"><img src="http://www.agileinsider.org/wp-content/plugins/spreadx/images/stumble.gif" alt="StumbleUpon" border="0" /></a>&nbsp;&nbsp;<a href="http://technorati.com/faves?add=http://www.agileinsider.org/2010/04/enterprise-agile-evolutionary-standards/" target="_new"><img src="http://www.agileinsider.org/wp-content/plugins/spreadx/images/technorati.gif" alt="Technorati" border="0" /></a>&nbsp;&nbsp;<a href="http://del.icio.us/post?url=http://www.agileinsider.org/2010/04/enterprise-agile-evolutionary-standards/&title=Enterprise+Agile+%26%238211%3B+Evolutionary+Standards" target="_new"><img src="http://www.agileinsider.org/wp-content/plugins/spreadx/images/delicious.gif" alt="Deli.cio.us" border="0" /></a>&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.agileinsider.org/2010/04/enterprise-agile-evolutionary-standards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Love Wave, Hate Google</title>
		<link>http://www.agileinsider.org/2009/06/love-wave-hate-google/</link>
		<comments>http://www.agileinsider.org/2009/06/love-wave-hate-google/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 09:43:33 +0000</pubDate>
		<dc:creator>mark</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[communication]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[just enough]]></category>
		<category><![CDATA[simplicity]]></category>
		<category><![CDATA[wave]]></category>

		<guid isPermaLink="false">http://www.agileinsider.org/?p=151</guid>
		<description><![CDATA[With the recent announcement of Google Wave at google I/O, I'm hating the wait...  I need it now...]]></description>
			<content:encoded><![CDATA[<p>I've not tried <a title="wave" href="http://www.agileinsider.org/tag/wave/">wave</a>, but I'm already loving it, I can see immediately how it addresses one of my wishes from a previous post...  But I'm hating the wait.  I had always looked to <a title="Google" href="http://www.agileinsider.org/tag/google/">Google</a> as a very pioneering company and certainly assumed they applied agile principles.  However, I can't see how such an important disruptive technology like <a title="Google" href="http://www.agileinsider.org/tag/google/">Google</a> <a title="Wave" href="http://www.agileinsider.org/tag/wave/">Wave</a> has managed to stay behind closed doors for 2 years...</p>
<p>I've been working on a few internal projects for <a href="http://www.agileinsider.org/exoftware" target="_blank">my company</a> of late and this has involved working in a distributed fashion (yes, pairing by phone), and during some of these sessions I can immediately envisage the <a title="benefits" href="http://www.agileinsider.org/tag/benefits/">benefits</a> of using Wave.</p>
<p>Surely there is at least one complete, tested feature they can roll out to production?  My concern is there are still some fundamental challenges facing the <a title="team" href="http://www.agileinsider.org/tag/team/">team</a>, and I would not be surprised to find it being concurrency issues, so as the potential end-user of this technology I'm going to make it clear, I don't particularly care about have multiple users editing the same document in real-time with transparent, asynchronous updating...  Let me edit, commit, refresh, etc as a simple starting point...  But whatever you do, let me do something before I find a simple alternative...</p>
<p>To find out more about wave, visit the wave site <a href="http://wave.google.com/" target="_blank">http://wave.google.com/</a>, and especially watch the google I/O presentation...</p><div id="spreadx">&nbsp;<a href="http://digg.com/submit?phase=2&url=http://www.agileinsider.org/2009/06/love-wave-hate-google/" target="_new"><img src="http://www.agileinsider.org/wp-content/plugins/spreadx/images/digg.gif" alt="Digg" border="0" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/share.php?u=http://www.agileinsider.org/2009/06/love-wave-hate-google/" target="_new"><img src="http://www.agileinsider.org/wp-content/plugins/spreadx/images/facebook.gif" alt="Facebook" border="0" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http://www.agileinsider.org/2009/06/love-wave-hate-google/&title=Love+Wave%2C+Hate+Google" target="_new"><img src="http://www.agileinsider.org/wp-content/plugins/spreadx/images/stumble.gif" alt="StumbleUpon" border="0" /></a>&nbsp;&nbsp;<a href="http://technorati.com/faves?add=http://www.agileinsider.org/2009/06/love-wave-hate-google/" target="_new"><img src="http://www.agileinsider.org/wp-content/plugins/spreadx/images/technorati.gif" alt="Technorati" border="0" /></a>&nbsp;&nbsp;<a href="http://del.icio.us/post?url=http://www.agileinsider.org/2009/06/love-wave-hate-google/&title=Love+Wave%2C+Hate+Google" target="_new"><img src="http://www.agileinsider.org/wp-content/plugins/spreadx/images/delicious.gif" alt="Deli.cio.us" border="0" /></a>&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.agileinsider.org/2009/06/love-wave-hate-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Real Value of Test First is the Thought Process</title>
		<link>http://www.agileinsider.org/2009/06/real-value-of-test-first/</link>
		<comments>http://www.agileinsider.org/2009/06/real-value-of-test-first/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 16:51:31 +0000</pubDate>
		<dc:creator>mark</dc:creator>
				<category><![CDATA[test driven]]></category>
		<category><![CDATA[analysis]]></category>
		<category><![CDATA[just enough]]></category>
		<category><![CDATA[pragmatism]]></category>
		<category><![CDATA[tdd]]></category>
		<category><![CDATA[test first]]></category>

		<guid isPermaLink="false">http://www.agileinsider.org/?p=141</guid>
		<description><![CDATA[Thanks to a colleague at emergn I'm left questioning the real value of TDD.]]></description>
			<content:encoded><![CDATA[<div id="attachment_143" class="wp-caption alignleft" style="width: 310px"><img class="size-medium wp-image-143" title="A Bit Too Simple" src="http://www.agileinsider.org/wp-content/uploads/2009/06/simple_test-300x299.jpg" alt="TDD found the simple solution ;)" width="300" height="299" /><p class="wp-caption-text">TDD found the simple solution <img src='http://www.agileinsider.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p></div>
<p><a title="Test Driven" href="http://www.agileinsider.org/tag/test-driven/">Test Driven</a> is a loaded term and means different things to different people.  I much prefer the term <a title="Test First" href="http://www.agileinsider.org/tag/test-first/">Test First</a> which clearly states that the test comes before the implementation.  However, for me, the value is not necessarily in creating an executable test, but in the thought processes that <a title="Test First" href="http://www.agileinsider.org/tag/test-first/">Test First</a> brings out.</p>
<p>One of my colleagues at <a href="http://www.agileinsider.org/emergn" target="_blank">emergn</a> is constantly reminding me that when presented with a solution you need to ask yourself what is the problem. This is what lead me to question TDD and it's variants.  If you search the web for <a title="Test Driven" href="http://www.agileinsider.org/tag/test-driven/">Test Driven</a> Development, you'll uncover a wealth of information from many of the authors in my BlogRoll, as well as many variants on a theme. I think the <a href="http://en.wikipedia.org/wiki/Test-driven_development" target="_blank">wikipedia entry</a> is a particularly good summary of Test Driven as it is currently understood by the community but for the real meat and bones you need to look at the articles from the thought leaders behind the practises.</p>
<p>However, when I look at this wealth of information, I'm now faced with the question...  OK, these are all solutions, but what is the fundamental problem they are solving?  Is it</p>
<ul>
<li>Code <a title="quality" href="http://www.agileinsider.org/tag/quality/">quality</a>/design is poor</li>
<li>Code is overly complex/difficult to test</li>
<li>Unused functionality within the code</li>
<li>Too many bugs</li>
</ul>
<p>It is only when we understand the underlying problem fully that we can then evaluate the applicability/suitability of a particular approach.  Indeed, it is this lack of a clearly defined problem which makes it impossible to determine which approach is best, since we can't define any tests up front...  This is actually a little bit of a paradox, but highlights for me one of the most important points about TDD.  TDD is a solution to too many problems and in certain cases is not a very good solution.</p>
<p>Testing should be about proving functionality, but unfortunately we too often see TDD trying to address non testing issues like design and code <a title="quality" href="http://www.agileinsider.org/tag/quality/">quality</a>.  Of course, code needs to be testable, but it is not the responsibility of the Testing to enforce this, it is the responsibility of the design, but this is (unfortunately IMHO) the missing piece in most methodologies...  Indeed, the approach of writing the "Simplest Possible Thing" to pass a test is possibly my biggest bug-bear with TDD.  This approach often means you can <strong>pass tests with no functionality</strong> other than hard coded return values, now that has to be the biggest process smell ever.</p>
<p>I'm going to stop using TDD, or Test Driven now and use instead the term I prefer which is Test First.  For me, this means that before I do anything, I will <strong>determine</strong> ahead of time how I <strong>would</strong> test it.  The immediate benefit (a.k.a value) I get from determining how to test something is I'm also starting to think about (dare I suggest design) things like apis/design/interaction/responsibilities.  This is not the same as BDUF (big design up front), instead it is <a title="just enough" href="http://www.agileinsider.org/tag/just-enough/">just enough</a> thought at just the right moment to (hopefully)  prevent a disaster.  I can then apply some cost/benefit <a title="analysis" href="http://www.agileinsider.org/tag/analysis/">analysis</a> with a pinch of <a title="risk" href="http://www.agileinsider.org/tag/risk/">risk</a> <a title="analysis" href="http://www.agileinsider.org/tag/analysis/">analysis</a> to assign a value to actually writing all the tests that TDD would have forced you to write, or just a small percentage to cover the important or more complex functionality.</p>
<p>Of course, in many cases I will actually create executable tests for many of those uncovered during this thought exercise, but will I go through the whole Red/Green/Refactor cycle, possibly not.  For me the Red/Green/Refactor is like micro context switching.  I prefer a slightly longer period of focus and therefore I may write quite a few tests at the same time before applying that context switch to go into coding mode.  This of course is my personal preference and undoubtedly would be scorned upon by the dogmatic TDD zealots, but if this is what makes me more productive, and without a baseline problem statement I challenge them to prove that this is not the best way to do your testing.</p>
<p>Test First allows me to</p>
<ul>
<li>Understand the problem I'm trying to solve</li>
<li>Think about how I will solve it (<a title="just enough" href="http://www.agileinsider.org/tag/just-enough/">just enough</a> design)</li>
<li>Uncover any unknowns or risks hidden in the initial problem statement</li>
<li>Produce high quality code which has just enough tests</li>
</ul>
<p>Many of the Test Driven approaches do indeed address many of the initial problems stated earlier, but are they the only solution to these problems?  Indeed, are these problems actually just symptoms of even deeper problems?  If the problem is simply that your code is very tightly coupled and difficult to test then the best ROI will probably come not from TDD but from up-skilling your development <a title="team" href="http://www.agileinsider.org/tag/team/">team</a> on fundamental design principles (unskilled developers was the <strong>real problem</strong> in the first place and TDD can't solve that).</p>
<p>Resources:</p>
<ul>
<li>Wikipedia entry for Test Driven Development:  <a href="http://en.wikipedia.org/wiki/Test-driven_development" target="_blank">http://en.wikipedia.org/wiki/Test-driven_development</a></li>
<li>Introducing BDD by Dan North: <a href="http://dannorth.net/introducing-bdd" target="_blank">http://dannorth.net/introducing-bdd</a> (highly recommended reading)</li>
<li>C2 wiki entry for Test Driven: <a href="http://c2.com/cgi/wiki?TestDriven" target="_blank">http://c2.com/cgi/wiki?TestDriven</a></li>
</ul><div id="spreadx">&nbsp;<a href="http://digg.com/submit?phase=2&url=http://www.agileinsider.org/2009/06/real-value-of-test-first/" target="_new"><img src="http://www.agileinsider.org/wp-content/plugins/spreadx/images/digg.gif" alt="Digg" border="0" /></a>&nbsp;&nbsp;<a href="http://www.facebook.com/share.php?u=http://www.agileinsider.org/2009/06/real-value-of-test-first/" target="_new"><img src="http://www.agileinsider.org/wp-content/plugins/spreadx/images/facebook.gif" alt="Facebook" border="0" /></a>&nbsp;&nbsp;<a href="http://www.stumbleupon.com/submit?url=http://www.agileinsider.org/2009/06/real-value-of-test-first/&title=The+Real+Value+of+Test+First+is+the+Thought+Process" target="_new"><img src="http://www.agileinsider.org/wp-content/plugins/spreadx/images/stumble.gif" alt="StumbleUpon" border="0" /></a>&nbsp;&nbsp;<a href="http://technorati.com/faves?add=http://www.agileinsider.org/2009/06/real-value-of-test-first/" target="_new"><img src="http://www.agileinsider.org/wp-content/plugins/spreadx/images/technorati.gif" alt="Technorati" border="0" /></a>&nbsp;&nbsp;<a href="http://del.icio.us/post?url=http://www.agileinsider.org/2009/06/real-value-of-test-first/&title=The+Real+Value+of+Test+First+is+the+Thought+Process" target="_new"><img src="http://www.agileinsider.org/wp-content/plugins/spreadx/images/delicious.gif" alt="Deli.cio.us" border="0" /></a>&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.agileinsider.org/2009/06/real-value-of-test-first/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
