4 ms·
Tests that mock databases are bad tests. This is a hill I am happy to die on. Spinning up a fresh database instance for each testing run is trivially easy in e
by simonw 2y ago
Tests that mock databases are bad tests. This is a hill I am happy to die on.
Spinning up a fresh database instance for each testing run is trivially easy in every testing framework worth its salt.