News for hackers. Stuff that matters.
Re:Unit Testing is Overrated (2020) by older on Friday April 08, 2022 @01:55AM (#30953754)
I mock database by using sqlite in-memory database. It is not 100% compatible with my production database but still god enough for most of my tests. This way I have fresh database for each unit test and the tests are still fast.

There are no comments on this comment yet.