Re:Unit Testing is Overrated (2020)
by rmetzler on Thursday April 07, 2022 @06:47AM
(#30942848)
You don’t use persistent databases to run these tests but put them on a tmpfs or in memory, right?
[ Parent
| on HN ]
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.