Search⌘ K
AI Features

Integration Testing

Understand the role of integration testing, which checks that multiple units or modules of a program work correctly when combined. Explore testing approaches like the big-bang method and the use of stubs and drivers to simulate unfinished modules. Learn how integration testing ensures data is passed accurately between modules and helps maintain application stability when adding new features.

Integration tests

Previously, we learned that unit tests will just test an isolated part of the application. We’ll also need to perform another type of test, called an integration test.

Integration testing is about putting several units together and testing them so that they work correctly when they’re are no longer isolated and are working together.

Units that work together will need to communicate, and they’ll communicate by passing data between them. This means that integration testing is about making sure that the data transfer and data representation aspects work.

Use case of integration testing

Imagine that we’re working on a project that’s divided into several modules. To speed ...