Unit Testing with OCUnit
Subject:   TDD and Refactoring
Date:   2004-04-26 11:00:05
From:   dsteinberg
Response to: Test Driven Development doesn't *always* work

I can agree that TDD isn't right for everything and may not be right in your situation. I also am not trying to be argumentative, but TDD seems to be right in the sweetspot of what you are targetting. It can help you discover an appropriate software architecture and it covers your backside if you find you have gone down the wrong path. While you do dramatic refactorings, a suite of tests keeps your app working.

Of course, I'm a bigot about this. For me, of all of the practices described in XP and related methodologies, TDD was life changing. It was what made my code more robust and flexible.