[TIP] testing: why bother?

C. Titus Brown ctb at msu.edu
Wed Mar 23 09:10:31 PDT 2011

On Wed, Mar 23, 2011 at 03:11:31PM +0000, Michael Foord wrote:
> On 23/03/2011 15:05, skip at pobox.com wrote:
>>      Laura>  I think that the most important reason to write tests is so that
>>      Laura>  they can write them _first_, and the code _later_.  This will
>>      Laura>  change the way they write code, so that they won't produce these
>>      Laura>  large, self-contained, too-tightly coupled messes, which just
>>      Laura>  happen to work, and which are a nightmare to refactor because
>>      Laura>  they don't decompose nicely.
>> OTOH, writing tests first is also no guarantee that your code will be
>> well-structured.<wink>
> Oh, you obviously haven't heard - TDD is the silver bullet (and Titus is  
> just lazy and ignorant):

Sheeeeite, you found me out!

Oh, wait, you're not a parent yet, are you... I look forward to watching
you become "lazy" and "ignorant" in the near future :)

C. Titus Brown, ctb at msu.edu

More information about the testing-in-python mailing list