When to Mock

added by DotNetKicks
4/15/2020 3:11:09 PM

293 Views

The use of mocks in unit testing is a controversial topic (maybe less so now than several years ago). I remember how, throughout my programming career, I went from mocking almost every dependency, to the "no-mocks" policy, and then to "only mock external dependencies". None of this practices are good enough.


0 comments