Tuesday, April 12, 2005

Learning about TDD

Test driven development is a relatively new idea in Computer Science. Basically, what you do is define the behavior of your classes by creating tests of that behavior before writing any code in the classes. Then you add just enough code to successfully pass the test(s), and no more.

The idea is to catch and eliminate bugs as early in the design process as possible, to reduce risk and cost. I am going to try to use TDD on my personal projects, and on the next utility that I write at Fidelity. I'll let you know what I think once I'm done.
Listening to: Mayberry - Rascal Flatts - Melt (Advance) (04:33)

No comments: