News for hackers. Stuff that matters.
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?
Re:Unit Testing is Overrated (2020) by azeirah on Thursday April 07, 2022 @10:20AM (#30944772)
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.

Re:Unit Testing is Overrated (2020) by dustymcp on Thursday April 07, 2022 @08:52AM (#30943771)
Yes correct then you can do Them in parallel