Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
simplify
on June 21, 2015
|
parent
|
context
|
favorite
| on:
Testable IO in Haskell
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?
chadaustin
on June 22, 2015
[–]
As with any fake implementation of a service, you definitely need coverage that verifies that the fake and real have the same behavior.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: