Even when working test/spec-first, when I&#39;m pairing with someone who isn&#39;t experienced working that way, I find myself constantly saying &quot;I&#39;m pretty sure we don&#39;t need that yet.&quot;&nbsp; (I&#39;ve just written the spec my pair is trying to get passing, so I know how little code we need.)&nbsp; If it happens then, it will certainly happen when that same developer is uncommenting code already written.<br>
<br>Out of curiosity, Ashley, what size team are you working with where you don&#39;t see this problem?<br>-hume.<br><br><br><div class="gmail_quote">On Fri, May 2, 2008 at 12:06 PM, Ashley Moran &lt;<a href="mailto:ashley.moran@patchspace.co.uk">ashley.moran@patchspace.co.uk</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>
On 2 May 2008, at 06:13, Tero Tilus wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I can well imagine how you may end up not getting all the advantages<br>
of BDD thru uncommenting process when you compare to clean BDD. &nbsp;But<br>
uncommenting is definitely better than writing spec on top of existing<br>
code, which in turn is _way_ better than not writing spec at all.<br>
</blockquote>
<br></div>
Perhaps &quot;uncommenting&quot; is a bad description. &nbsp;What I do is write specs for the behaviour I want, and see what bits of the code (if any) do that. &nbsp;(Which will obviously be pretty similar to the what it does anyway.) &nbsp;What I *don&#39;t* do is pick a line of code and write a spec for it so I can uncomment it. &nbsp;I guess that&#39;s how you would run into trouble.<div class="Ih2E3d">
<br>
<br>
Ashley<br>
<br>
-- <br>
<a href="http://www.patchspace.co.uk/" target="_blank">http://www.patchspace.co.uk/</a><br>
<a href="http://aviewfromafar.net/" target="_blank">http://aviewfromafar.net/</a><br>
<br>
<br>
<br>
_______________________________________________<br></div><div><div></div><div class="Wj3C7c">
rspec-users mailing list<br>
<a href="mailto:rspec-users@rubyforge.org" target="_blank">rspec-users@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/rspec-users" target="_blank">http://rubyforge.org/mailman/listinfo/rspec-users</a><br>
</div></div></blockquote></div><br>