Hacker News new | ask | show | jobs
by rmetzler 1536 days ago
You don’t use persistent databases to run these tests but put them on a tmpfs or in memory, right?
2 comments

Can you (or someone else) tell me more about how to run database tests efficiently?

I'm working on an app that has 200+ tables and requires a lot of data to be in the database before anything even works at all. Of course good tests interacting with the database need a fresh database every time so even a test suite of about 10 tests can take 10-20 minutes already.

Yes correct then you can do Them in parallel