
Test Driven Development is Design - The Last Word on TDD
Hanselminutes with Scott Hanselman
00:00
The Importance of Test Driven Development
Test smell inevitably points to a design smell. If there isn't joy in writing my tests, if I'm doing lots of setup, if my tests are full of friction and pain and I don't enjoy writing them, then there's something wrong with my design. My design is not sufficient if it can't be used effortlessly. And the benefit from that isn't just testing. It's high quality design. Even if you don't know how to do high quality design, everybody who's done test driven development for a long time will say the same thing. The more you do it, the more this will just become automatic. This practice opens up. We're going to focus on creating sample
Play episode from 38:04
Transcript


