openskills.info
Course Preview

Integration Testing

Integration testing checks whether two or more software parts work together across a real boundary, such as an application talking to its database, message broker, file system, or another service.

itSoftware engineering

Integration Testing

Integration testing checks whether multiple software parts cooperate across a boundary. A test starts a system under test, connects it to one or more collaborators, triggers behavior through a real entry point, and observes the result. The boundary might be a database driver, an HTTP API, a message broker, a file system, or framework wiring.

That scope distinguishes an integration test from a unit test. A unit test isolates a small piece of logic and commonly replaces infrastructure with a test double. An integration test keeps the boundary under examination real enough to expose mismatched schemas, serialization errors, configuration mistakes, and incorrect assumptions about another component. It is usually slower and more expensive to diagnose because more moving parts participate.

Integration testing is also narrower than end-to-end testing. An end-to-end test follows a complete user or business flow through the deployed system. A focused integration test can exercise one application boundary without a browser, production network, or every downstream service. Teams use both scopes, but each test should state which boundary it proves.

The test path

A useful integration test has five parts:

  1. System under test: the application, service, repository, or component whose behavior is being checked.
  2. Entry point: a public API, command, event, or method that triggers the behavior.
  3. Collaborator: a real dependency, controlled emulator, or test double on the other side of the selected boundary.
  4. Fixture: the configuration and data required to create a known starting state.
  5. Observation: an externally visible result, such as a response, stored record, published message, or file.

Continue the course

This section is part of the paid course.

See pricing to subscribe, or log in if you already have access.

Where this skill leads

Relevant careers

See how this topic contributes to broader role-level skill maps.

Sources