Is TDD Dead?

17 January

Fear not, TDD is not dead, although it’s certainly been talked to death. This catchy title has been doing the rounds on the web recently since the Kent Beck + Martin Fowler + David Heinemeier Hansson talks. For me it all started about 2 months ago when I watched Ian Cooper’s talk on TDD, Where did it all go wrong. I’ve been told over and over, that unit testing gives you the freedom to change code with the safety of maintaining functionality for the customer. So refactoring is the process of changing code without changing functionality, and those like Kent Beck would advocate your test suites allow you to safety refactor to design patterns as they emerge in the system. Yet this video struck a chord, I struggle to refactor code without breaking tests, and so lose confidence that the functionality is unchanged as the tests are now different. Ian’s video addresses these points by highlighting different approaches and definitions to unit testing, and asks is the way some of use do TDD slowing us down.

Aenean consectetur, mi nec sodales cursus, diam nisi elementum turpis, tempor commodo massa lorem quis magna. Mauris vitae rhoncus purus, sit amet pharetra purus. Vivamus in nibh diam. Suspendisse luctus nisl ut diam luctus, vel bibendum erat scelerisque. Integer congue erat eu lorem maximus pharetra. Fusce commodo purus dapibus bibendum placerat. Aliquam laoreet ipsum semper lacus commodo, sit amet convallis mi pretium. Nullam non augue sit amet nisi blandit iaculis eu sit amet leo. Integer pulvinar gravida porta. Cras mollis nisi non massa porta, at bibendum lacus faucibus. Donec eu augue vulputate, malesuada velit quis, ultrices purus. Cras at tortor sed ex viverra convallis in sit amet felis. Quisque eget varius erat, sed pellentesque erat. Fusce finibus finibus magna, sodales viverra diam malesuada eu.

Donec mollis egestas lacinia. Curabitur vitae hendrerit nulla, sed ultricies augue. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Vestibulum cursus dui at diam sodales, at sagittis lorem pulvinar. Duis nec pellentesque nulla. Sed euismod imperdiet mi ac pulvinar. Morbi efficitur mauris eu massa sodales, nec dictum ligula ullamcorper. Nullam malesuada purus eu mauris eleifend mattis. In nibh diam, lobortis non finibus sed, tempor nec purus. Nunc eget blandit leo. Sed sed malesuada arcu. Nulla metus lacus, mollis iaculis varius eget, vulputate a orci. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aliquam tincidunt nec orci quis tincidunt. Quisque augue turpis, euismod sed elementum a, posuere eu quam.

Comments

Comments are currently disabled