Objectives
- How to protect your code from tests that threaten to reveal bugs, in particular by
retaining authorship of tests;
doing the bare minimum necessary; and
writing untestable programs.
- How to write tests that cause havoc for your colleagues, in particular by
making a test’s success dependent on its environment;
creating work for testers by unnecessarily widening the focus of a test; and
adding volatile, uncontrollable elements.
Prerequisites
The basic concepts of unit testing and integration ...