<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 21 Mar 2012, at 08:45, Steve Tooke wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On Wed, Mar 21, 2012 at 8:08 AM, Anthony Green <span dir="ltr"><<a href="mailto:anthony.green@bbc.co.uk">anthony.green@bbc.co.uk</a>></span> wrote:<div class="gmail_quote"><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; ">


You have two projects, both with the same specification but only one of these projects was developed using Test Driven Development. You are given the source for both but with the tests removed from the TDD project. How can you tell which was developed using TDD?<br>

</blockquote><div><br></div><div>The simplest answer:</div><div><br></div><div>The codebase that was TDD'd will likely be easier to write tests for.</div></div></blockquote><br></div><div>That would be a fun dojo to run, actually... give teams of 2-3 people a spec to work to, and an hour to do it.</div><div><br></div><div>Half the teams have to write tests. The other half are not allow to write any tests.</div><div><br></div><div>At the end, compare the production code, talk about the experience, and see who managed to complete the spec...</div><div><br></div><div>Might be a good submission for SC2012 if I can organise myself :)</div><div><br></div><div>Chris</div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">--<br>Chris Parsons<br><a href="mailto:chris.p@rsons.org">chris.p@rsons.org</a><br>http://twitter.com/chrismdp<br>http://pa.rsons.org<br><br><br><br></span>
</div>
<br></body></html>