QuACS.tech
tag: Mocking — 1 articles
The mock is my guess about someone else's system
When I mock a dependency, I write down what I believe it does. The test then checks the code against my belief, not against the dependency. How to keep a mock honest once nobody is looking at it.