Re:The Difference Between Unit Testing and Integration Testing
by iworkforthem on Tuesday May 31, 2011 @05:22AM
(#2601957)
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.
[ Parent
| on HN ]
Re:The Difference Between Unit Testing and Integration Testing
by grimen on Tuesday May 31, 2011 @07:05AM
(#2602104)
Yes 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.