I bet you encounter (and use) the term “implementation detail” a lot. But what it means, exactly? And how to see if something is an implementation detail?
This post is about the practice of Structural Inspection in unit testing and why I personally consider it an anti-pattern.
This is a review of the Growing Object-Oriented Software, Guided by Tests book (GOOS for short) in which I’ll show how to implement the sample project from the book in a way that doesn’t require mocks to be tested.