Hacker News new | ask | show | jobs
by iamsb 1973 days ago
I have tried using fakes over mocks, but it becomes cumbersome if it is a large-ish code base with handful of developers contributing to it. Keeping expectations on what a particular Fake does gets contentious. Mocks however usually allow a developer to encapsulate entire mock behavior within the boundaries of a unit test.

I am curious to know if you ran into similar problem, if you did how you managed to overcome it?