(no title)
hynek | 8 months ago
You make it sounds as if the article would argue for test isolation which it emphatically doesn't. It in fact even links out to the Mock Hell talk.
Every mock makes the test suite less meaningful and the question the article is trying to answer is how to minimize the damage the mocks do to your software if you actually need them.
molf|8 months ago
I would not write the test from the article in the way presented. I would capture the actual HTTP responses and replay those in my tests. It is a completely different approach.
hynek|8 months ago
The question of "when to mock" is very interesting and dear to my heart, but it's not the question this article is trying to answer.