1. Not using a Mocking Framework
2. Too Much Test Setup
3. Asserting Too Many Elements
4. Writing Tests Retrospectively
5. Testing Too Much Code
My pet hate is when someone says we are doing Agile and not doing TDD, then your not doing Agile!
For years now I have struggled to make people see the benefit of TDD, even when I interview people who say they have TDD, they don't. What they confess to is number 4 writing tests retrospectively. I must be from another planet!
No comments:
Post a Comment