Anthony Trad
Sep 29, 2022

--

Not really, the idea here is to always avoid Mocks.

You should consider a lot of solutions before getting to Mocks.

Start with Fakes and Stubs so you don't throw your logic in your tests. With that reasoning you will see that there's not much you should mock in real life.

--

--

Anthony Trad
Anthony Trad

Written by Anthony Trad

Senior Software Engineer focused on .NET and the Cloud. Reconsidering major principles and patterns, ideas are my own.

No responses yet