Integration Testing

Learn what integration testing is and how to perform it.

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 up development time, we let several programmers work on the separate modules. This might look something like this:

Get hands-on with 1200+ tech skills courses.