1
Database mocks are not worth it
Testing against a real database uncovers hidden pitfalls that can appear as the application matures
Everything, everywhere - always in progress
Visit shayon.dev → RSS feedOn Hacker News Jan 2022 – Feb 2026
Databases & Data 5Systems & Performance 2Software Engineering 2Infrastructure & DevOps 2Security & Privacy 1
Testing against a real database uncovers hidden pitfalls that can appear as the application matures
Foreign keys are a bit like that well-intentioned friend who insists on double-checking everything you do. They’re often recommended as a must-have for enforcing referential integrity checks in your database.