---------------------------------------- > Date: Mon, 17 Mar 2008 15:16:07 -0700 > From: [EMAIL PROTECTED] > To: [email protected] > Subject: Re: Documentation > > [EMAIL PROTECTED] wrote: > >> Some test driven development fan (TDD!) at Pycon writes his *tests* before >> writing any code. I haven't gone that far yet. > > I find that I start writing tests once I start debugging. Before that > and it's just a waste of effort. >
I find I split the difference. I don't write tests until I have something to debug, but I may write a test or two to debug an individual algorithm before moving forward. I also start thinking about what kind of tests are needed during design, I find that helps find corner cases when its easiest to fix them. Gabe _________________________________________________________________ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.com/-- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
