ok so I'm sold,
I just finished a small web services project that will be used to manage millions of dollars worth of orders for several companies. Every line of code is backed up with a unit test. (not literally, but each line of code is accounted for when accessing the public apis).
My stress level was low, my design came out 10X better and more flexible than I had previously envisioned. I have confidence that all the code will act according to spec. If any changes are needed I won't have to stress out because I have all the unit tests backing up my changes. I actually looked at the code and said.. thats pretty(I swear)
As this was my first step into to fully living the TDD lifestyle (red, green, refactor) it obviously went slower than coding without tests but well worth it. (thanks Marcus, Jason, and McGruff)
I was hoping some of the more established TDD users could chime in on how this style has affected your bug rate. Do you find you dramatically get fewer bugs? How about regression bugs from refactoring? Do you find even in the most stressful of release times that TDD helps manage the complexity?








Bookmarks