Re:Don't Use Mocks
by TeMPOraL on Tuesday June 20, 2023 @08:14AM
(#36402929)
Mocks, fakes, stubs. Every time I read this article I end up more confused than I was before.
[ Parent
| on HN ]
I like Uncle Bob’s explanation:
https://blog.cleancoder.com/uncle-bob/2014/05/14/TheLittleMo...
Re:Don't Use Mocks
by sethammons on Tuesday June 20, 2023 @03:17PM
(#36409085)
That is a solid way to introduce the different test doubles. Thanks for the link. I agree, stubs and spies are my daily bread. I also use fakes very regularly. I hardly ever use mocks, for the same reasons in the post.