Skip to main content

Glossary

What Is Integration Testing

Integration testing checks that different parts of a system work correctly together. Plain-English definition for business owners.

Definition

Integration testing checks that different parts of a software system work correctly when they interact with each other. While unit tests verify individual pieces in isolation, integration tests verify the connections between them. For example, they confirm that a controller correctly saves data to the database, or that an API endpoint returns the right response when called. These tests exercise real interactions between components rather than simulating them, which makes them slower than unit tests but far more realistic.

Why It Matters

Software systems are made up of many components, and the most common failures happen at the boundaries where those components meet. A function might work perfectly on its own but fail when it receives data in a slightly different format from the system feeding it. Integration tests catch these boundary problems before your users encounter them. They matter especially when your application connects to external services. Payment providers, email systems, and third-party API integrations all involve real network calls and data transformations where subtle mismatches can cause failures.

Example

Your online store has a checkout flow that involves a shopping cart module, a payment gateway integration, and an order confirmation email. Each component passes its own unit tests. But an integration test reveals that the cart sends prices as strings while the payment gateway expects numbers, causing transactions to fail silently. Without the integration test, the bug would only surface when a real customer tried to pay, and the error would look like a payment provider issue rather than a data format mismatch in your own code.

Browse the glossary for more definitions.

Portrait of Alexander De Sousa, founder of Digital Royalty
Founder-led
“I’ve put everything I know into how this company works — the standards, the method, the care on every project. It runs through the whole team, and I hold us all to it.”

Alexander De Sousa · Founder LinkedIn

Featured on BBC Radio Solent

Get started

Tell us what you need

A few quick questions, then a straight answer from a real person — usually within a few hours.

Tell us what you're working on

Whether it's a new site, a platform, or a process that shouldn't be manual any more — we'll tell you honestly if we can help.