Re:How I Write Tests
by 88e282102ae2e5b on Sunday January 01, 2017 @09:40PM
(#13298699)
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.
[ Parent
| on HN ]
There are no comments on this comment yet.