5 Integration Testing and Continuous Integration

This chapter explains the differences between unit and integration testing, how to design integration test cases and how to embed them in a fully automated Continuous Integration (CI) environment along with the unit tests we have already written.

5.1 Integration Testing

A software system is made up of multiple components. For the system to work properly, each component has to function reliably on its own and, most importantly, all the components have to work together as planned. Integration testing checks whether this is the case.

Integration tests check the interaction of the individual components.

Integration tests are designed to discover potential defects in the interaction of the individual ...

Get Testing in Scrum now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.