O'Reilly logo
  • Roman Borysenok thinks this is interesting:

In general, though, I use stubs far more than mocks for service tests. For a more in-depth discussion of this trade-off, take a look at Growing Object-Oriented Software, Guided by Tests, by Steve Freeman and Nat Pryce (Addison-Wesley).


Cover of Building Microservices


Mocking and Stubing in tests book