Re:Don’t mock what you don’t own
by Akronymus on Thursday June 23, 2022 @05:29AM
(#31846757)
Part of the reason why I like FP so much, is that you DON'T need to mock anything most of the time. Just call the damn function and compare the expected with the actual output.
Useful if you have a reference implementation that is obviously correct but slow, and a fast one where it may not be correct.
Useful if you have a reference implementation that is obviously correct but slow, and a fast one where it may not be correct.