Aug 23, 2017 · 1 min read
Thanks Ricardo Borillo!
Very interesting!
In my opinion, a unit is the smallest part of an application and unit testing is the process of ensuring that those smallest parts (units) work as expected when examined individually.
I view integration testing, on the other hand, as testing the “integration” of those units to ensure that they work together as expected.
However, I see your point… a unit can be also be viewed as a set of functions/components that work together.
Also, I’ve never thought about using an “outside-in” approach or organizing code by functional areas 🤔. Cool stuff!
Thanks for sharing! 🙂
