OK We all know that TDD is a technique for DESIGNING your code.
One of the massive side effects of TDD is that you end up with a set of tests that should give nearly 100% coverage of your code.
This set of tests is what I refer to as your Guardian Angel. The effects of having this set of tests constantly looking over your shoulder is immense. Especially if a project reaches a panic stage where people are introducing late changes and new requirements. Being able to run hundreds of tests before doing a build and release is immeasurable.
The set of tests can also come to your rescue when someone says have “you got any design documentation”. Of course you have. The tests represent the most up to date design document that you can have. (Unlike separate documentation that can quickly become out of date.
So, have you got a Guardian Angel or a little devil on your shoulder?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment