in reply to Re: Re: Unit Tests and Creative Tension
in thread Unit Tests and Creative Tension

Yesterday I reread your post and realized I had kinda missed the point. *blush* I have some pretty hairy design and code work coming up and I think before I write another line of code on that project (I am currently by lack of choice dealing with other matters) I will be putting together a full set of tests to experiement with TDD. It doesnt make sense to knock something you havent given a proper try of. And if the peace of mind you describe is a possible payoff then its definately worth the experiment.

Many thanks for yet another thought provoking node. (Even if it did take a while to sink in, im kind thick sometimes. :-)


---
demerphq

<Elian> And I do take a kind of perverse pleasure in having an OO assembly language...

Replies are listed 'Best First'.
Re: Re: Re: Re: Unit Tests and Creative Tension
by pdcawley (Hermit) on Sep 19, 2003 at 08:12 UTC
    Remember TDD doesn't mean writing all the tests up front and then writing code. It means writing a test, making it pass, refactoring, writing another test, making it pass, refactoring... ad completum. Trying to code something given a complete set of tests up front is, frankly, far too hard, the trick is to keep adding functionality in piecemeal fashion.

    Apologies if I'm stating the obvious.