A naive question here, should I not then in a unit test, test that an API library is called with specific arguments?
I am confused, wouldn't using simpler and "broader" tests miss test coverage on e.g. specific error handlers?
I am confused, wouldn't using simpler and "broader" tests miss test coverage on e.g. specific error handlers?
What this article did not do was to describe the trade-off: what you give up by creating a more complicated "fake" (to use the author's term).