4 ms·
As always it depends. There are projects where integration is the hard part and others where the business logic is impossible to get right without unit tests.
by oweiler 9y ago
As always it depends. There are projects where integration is the hard part and others where the business logic is impossible to get right without unit tests.
Unit tests also have the added benefit that they tell you exactly the reason they failed (because there can only be one) whereas integration tests can fail for multiple reasons.
- toasterlovin 9y agoYeah, but usually an integration test tells you what line it failed on, which gets you fairly close to knowing the exact reason it failed.