3 ms·
I see it this way - Unit Testing is to ensure that components & features are coded correctly. Integration Testing is about ensuring multiple components can work
by iworkforthem 15y ago
I see it this way - Unit Testing is to ensure that components & features are coded correctly. Integration Testing is about ensuring multiple components can work nicely together as an Application.
- grimen 15y agoYes I totally agree. I don't compare them, I consider them both critical. For the record I tend to avoid controller tests for non-API controllers; if the app only got HTML views I don't see the point of testing controllers really. Then I think integration tests using browser simulation covers it enough.