Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
simplify
· 11y ago · 0 comments
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?
Comments
[–]
chadaustin
11y ago
As with any fake implementation of a service, you definitely need coverage that verifies that the fake and real have the same behavior.