Test Harnesses

Learn about integration testing, out-of-spec failures, system isolation, test harnesses, and mock objects.

Integration testing

As we’ve seen in previous chapters, distributed systems have failure modes that are difficult to provoke in development or QA environments. To be more thorough about testing various components together, we often resort to an “integration testing” environment. In this environment, our system is fully integrated to all the other systems it interacts with.

Integration testing presents problems of its own, however. What version should we test against? For greatest ...