News for hackers. Stuff that matters.
Re:Favor real dependencies for unit testing by marcosdumay on Saturday January 15, 2022 @08:16AM (#29946088)
It is different. You tell the mock to give you an specific error with specific information, while you tell the fake to give you the error for an specific condition.

It is subtle and may not be worth the time, but again, it may be.

There are no comments on this comment yet.