Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?


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: