Test Driven Development (TDD) is easy to describe:
Significantly Less rework + significantly easier code = Significantly higher productivity.
Even better, the tests act as a safety net – catching your mistakes quickly so that they are cheaper and easier to fix.
That's an easy process to describe, but that's not enough:
it’s only when you do it that you truly get it.
How do you try TDD, for real, if you’re not a programmer?
Here's how. This site runs through a very simple TDD example – converting integers into their roman number equivalent - that you or your boss can do easily using Microsoft Excel and Visual Basic for Applications (VBA). It’s not intended to teach how to do TDD or how to program, but rather it’s a hands on example where you can get a feel for the process and the possibilities.
All you need is Excel, an open mind and an hour or so to experiment. It will help if you’ve had a little programming experience … but not much.
The process looks like this:
Now lets create your first test and setup your test environment.