Unit testing handling of degraded network stack, file corruption, and other imperfections

You start by talking about unit tests, then talk about entire applications; it seems you are a little confused about what unit testing is. Unit testing by definition is about testing at the most fine grained level, when each “unit” of the software is being tested. In common use, a “unit” is an individual function, not an entire application. Contemporary programming style has short functions, each of which does one well defined thing, which is therefore easy to unit test.

Leave a Comment