Testing Without Mocks: A Pattern Language
James Shore
APRIL 27, 2018
For example code demonstrating these ideas, see my example on GitHub. When programmers use test-driven development (TDD), the code they test interacts with other parts of the system that aren't being tested. It avoids the downsides of mock-based testing, but it has tradeoffs of its own.
Let's personalize your content