3 ms·
I think a problem with this is that when you bring an actual database into the test, it ceases to be a unit test and becomes an integration test (not that integ
by 88e282102ae2e5b 10y ago
I think a problem with this is that when you bring an actual database into the test, it ceases to be a unit test and becomes an integration test (not that integration tests aren't useful). I would prefer for the application to be separated enough from the database that I can test the business logic entirely on its own.