Chapter 17Project Smells
Smells in This Chapter
Buggy Tests 260
Developers Not Writing Tests 263
High Test Maintenance Cost 265
Production Bugs 268
Bugs are regularly found in the automated tests.
Fully Automated Tests (see page 26) are supposed to act as a "safety net" for teams doing iterative development. But how can we be sure the safety net actually works?
Buggy Tests is a project-level indication that all is not well with our automated tests.
A build fails, and a failed test is to blame. Upon closer inspection, we discover that the code being testing works correctly, but the test indicated it was broken.
We encountered Production Bugs (page 268) despite having tests that verify the specific scenario ...