Thursday, July 17, 2008

Automated Unit Tests in my life - Part 7

TDD & Time

Sometimes I hear people sayin that TDD developement takes more time thatn without using TDD...
You know - it is true. Wrting code with tests takes more time then writing code
without tests.
But you can be sure that in long term you safe a lot of time...

When you run whole tests together you have No more repeat bugs.
When you run all the tests automatically - Full regression test of your system takes minimal time.
You spend the significant majority of your time developing new functionality rather than debugging existing code.
Debugging time is reduced by at least a factor of 10.
When a little logic is added, it is easy to find non-actual or broken logic by running whole set of tests

So as we can see - we save a lot of time by using Automated tests...
Bosses are suprised, how fast

No comments: