Re:Ultratestable Coding Style
by ignorabilis on Tuesday June 09, 2015 @01:08PM
(#9687107)
You don't need to mock it. In your tests just manually call the code that is going to be executed if the I/O call returns an error. This goes for both OOP and FP.
[ Parent
| on HN ]
There are no comments on this comment yet.