Resource · Guide or article
Integration Testing
A short explainer on integration testing: checking that separately built modules, databases and APIs work together. It suits early-stage engineers who can write unit tests and want to explain what an integration test adds and how to scope one.
Reviewed
Open the original: Integration Testing (opens the original site in a new tab)Add to a roadmap
Keep this resource with a roadmap you follow. It appears as your own extra resource; the roadmap's steps don't change and it doesn't count toward your tracked steps.
Source content: English
Integration testing is a software testing methodology used to determine how well individually developed components, or modules of a system communicate with each other. This method of testing confirms that an aggregate of a system, or sub-system, works together correctly or otherwise exposes erroneous behavior between two or more units of code.
PrepKit overview
PrepKit editors wrote and reviewed this overview from the source repository. It is not text from the resource itself.
- Suited to
- The source does not state a level
- Format
- Article
What it covers
- A banking example with login, transfers and balance modules, showing what an integration test would check and what it would mock
- Integration testing versus acceptance testing: technical fit versus business scenario
- Big bang versus incremental integration, including top down with stubs, bottom up with drivers, and the sandwich model
- Pitfalls such as excessive mocking, testing business logic in integration suites and testing in production
How to use it
PrepKit study advice, not a claim made by the source.
Describe one integration test you wrote or could write for your own project: which two components it joins, what you stub, and what failure it would expose. Aim to explain it in under a minute, then contrast it with a unit test of the same code.
Scope and limitations
Team engineering guidance, not interview preparation. Coverage is conceptual with no code; the tool list is a bare set of names, and further reading points to general testing sites.
Access and format
Web page on microsoft.github.io from Microsoft's Code-With Engineering Playbook. English, free, CC BY 4.0.
Reviewed by PrepKit on Oct 2, 2026. Listing source commit: 016770e43d8a
Evidence behind this overview
- docs/automated-testing/integration-testing/README.md
Pages that include this
Get the PrepKit newsletter
Optional. You don't need it to use PrepKit.