Thursday, 8 December 2005

Write production-ready code faster with TDD

It takes time to become proficient at test driven development. But it's worth the investment. I'm not convinced it makes writing code faster because, after all, it does require you to write more code for the unit tests. However, I am convinced it makes writing production-ready code faster.

Coupled with continuous integration, TDD shortens the overall software development lifecycle because it absorbs the explicit non-coding phases of waterfall software development and makes them an implicit part of writing code. Through refactoring, analysis and design are unified to become a low-level, recurring activity, which also keeps code tidy and self-documenting. Writing unit tests first, helps design testability into the code, while maintaining a high test coverage helps locate and fix defects quickly and reduce the number of implementation defects.


Tags: agile , tdd
Posted by Simon Baker - Permalink

Creative Commons Licence

preload call-us-on.png preload chat-over-coffee-on.png preload coffee-cup-on.png preload guspower-avatar.png preload simonbaker-avatar.png preload email-on.png preload meet-the-crew-on.png preload about-on.png preload bits-on.png preload blog-on.png preload coaching-on.png preload consulting-on.png preload crew-on.png preload home-on.png preload software-on.png preload other-talks-on.png preload phone-on.png preload previous-talks-on.png preload boost-icon-on.png preload jumpstart-icon-on.png preload liftoff-icon-on.png preload powerup-icon-on.png preload skype-on.png preload speech-bubbles-on.png preload creative-commons-on.png preload slides-on.png preload video-on.png