Skip to content

Origin

Integration testing emerged as a distinct layer in the 1990s alongside the growth of distributed systems; its modern form was shaped by the test pyramid (Cohn 2009) and the containerization wave (2015+).

Before distributed systems, "integration" was a QA phase that happened after development, not a test category. The 1990s shift to client-server and multi-tier architectures created the need for tests that crossed boundaries; JUnit 1997 and its ports made the practice feasible. Cohn's Succeeding with Agile (2009) formalized the layer in the pyramid. Testcontainers (2015) brought real-dependency testing to CI at scale, and by the 2020s integration tests were the default second layer for any serious team.

  1. 1997 — JUnit; integration testing becomes feasible in CI

  2. 2004 — Spring Framework popularises integration tests against real DB

  3. 2009 — Cohn's test pyramid formalises the layer

  4. 2015 — Testcontainers: real deps in Docker for CI

  5. 2020s — GitLab publishes 44,893 integration tests (15.55%)

An integration test is one that crosses a boundary. If it does not cross a boundary, it is either a unit test that has been mislabelled, or a system test that needs a smaller scope.

— adapted from Martin Fowler, *IntegrationTest*, 2004
15,55% · integration tests en el suite de GitLab (GitLab 2025)
44.893 · integration tests en GitLab CE+EE (GitLab 2025)
~50k · integration tests por cambio en Chromium CI (Chromium 2024)
607 B USD · coste de sistemas legacy sin cobertura adecuada (CISQ 2022)