, ,

A nice side effect of writing your tests before your business logic is that if you have to step away from your work for a while, you only need to compile and run your test suite to determine where you left off. When compared to recovering your context from inspecting source code, TDD is a big winner.