Week 30, year 2015
- The most important TDD rule - In the previous articles, we discussed what causes the pain while writing unit tests (mocks), and how to make TDD painless (get rid of the mocks). Today, I want to set the groundwork and discuss why mocks actually cause so much pain to us, developers. Test-induced design damage or why TDD is so painful How to do painless TDD Integration testing or how to sleep well at nights The most important TDD rule Stubs vs Mocks TDD best practices [Enterprise Craftsmanship]