Conversation

While I am more on the side of mocks than a lot of folks I know, I did like this article a lot, especially the diagrams: https://blog.ploeh.dk/2023/03/13/confidence-from-facade-tests/

Personally, I hold that mocks are really mainly useful when you have good abstractions.

1
0
0

@alpha I’ve grown much less in favor of mocks as I continue to see inexperienced engineers duct taping them into an incomprehensible mess in no small part due to thoughtless “dependency” injection. And as my role gives me less time to roll up my sleeves and just fix it.

1
0
1