Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Testing like the TSA. Parent comment
But the only thing I use mocking/stubbing for is to mock out external services that make tests unreliable and slow (like HTTP requests).
Expectation based tests seem particularly easy to mis-use. Who cares how many times a method is called?
There are no comments on this comment yet.
But the only thing I use mocking/stubbing for is to mock out external services that make tests unreliable and slow (like HTTP requests).
Expectation based tests seem particularly easy to mis-use. Who cares how many times a method is called?