Test-Driven-Development
Test-Driven-Development
Submitted by jamie on Wed, 23/07/2008 - 08:38.Everyone knows I am a big fan of TDD. But, the truth is that I am really in love with beautifully designed software***. To this end, TDD is useful. It forces you to think about interactions between objects and the different dependencies. The fact that you get an automated suite of tests is a simple, but valuable, bonus. The process of TDD is a formalisation of the way many good programmers think. I used to sketch my assertions on a bit of paper (non-lined) and then check the programs output. When I was 20 I started messing around with test programs, as a way of automation.
