Change-Detector Tests Considered Harmful (2015)
Summary
The article discusses the debate between change-detector tests (which validate implementation details) and behavioral tests. It argues that change-detector tests can give a false sense of safety during refactoring and may obscure real correctness, recommending tests that document intent and verify observable behavior. A simple code example illustrates why testing interactions can be faster but riskier than validating pure behavior.