Hacker News new | ask | show | jobs
by matthewmacleod 3979 days ago
I reckon it's okay to do this in the right circumstances:

- It's a relatively simple app - You're using an ORM - You aren't using any advanced SQL features - It's only to make local development easier - There's still a full CI test run with your production database

That said, if your test suite is large enough that database performance is an issue during testing then either your app is too complex for the above to apply, or you are probably doing something else wrong.