Re:Testable IO in Haskell
by simplify on Sunday June 21, 2015 @05:04PM
(#9754982)
How do you verify that your mock behaves exactly as the real database? The type system certainly helps with function signatures, but what about behavior?
[ Parent
| on HN ]
Re:Testable IO in Haskell
by chadaustin on Monday June 22, 2015 @01:00AM
(#9756237)
As with any fake implementation of a service, you definitely need coverage that verifies that the fake and real have the same behavior.