TOPIC 19/6214 MINNOT STARTED

Integration testing in practice

Parts that pass alone can still fail together. Find the places where parts meet, test the agreed way they talk, and use fakes for parts that are missing.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: two puzzle pieces. Each piece may be perfect and still not fit. A software test may expose a mismatch by joining real parts or checking their interactions against a faithful double and the agreed contract.

Daily List is a to-do list app. When Lily shares a list with a friend, the sharing part must tell the notification part to send a message. Leo built the first part and another team built the second. Each passed its own tests. Tom, the tester, joins them.

The place where the two parts meet is an , a place where two parts of a system exchange data. The agreed way they talk is the interface. When the sharing part sends a field the notification part does not expect, that is an , a fault in how parts work together.

Tom shares a list and watches. The message does not arrive. The sharing part sends the friend as friend_email, while the notification part waits for email. Their limited isolated tests passed, but the observed exchange violates the agreed interface requiring email. That does not prove either implementation is correct or locate which code or contract decision caused it.

The picture has a limit. Puzzle pieces are cut to fit. Software parts are built by different people who may read the plan in different ways.

(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)

PLAIN WORDS · 1 in this section
mismatch
two things that should agree but do not

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.

THE REAL JOB Finding faults that sit in the gap between two parts.

  1. List the joins
  2. Read the interface
  3. Test the fit
Three steps

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
Puzzle pieceA part of the system
The joinIntegration point
Shape of the cutInterface
Pieces that do not fitIntegration defect

WHERE THIS PICTURE STOPS

  • Puzzle pieces are cut to fit. Parts are built by different people.
  • A puzzle has one picture. A system has many joins.
  • A piece can be trimmed. A part may need a change on both sides.

HOOK

List the joins, read the shape, test the fit.

REMEMBER IT THIS WAY

A rule of thumb: if you see this, think that.

If both parts pass their own tests, test the join next: share a list and watch what the other part receives.

What each part of the trick stands for
In the trickWhat it stands for
Jointhe integration point where two parts exchange data
What it receivesthe field the notification part expects

Some faults sit inside one part, and no join will show them.

TELL A FRIEND

Two pieces can each pass their own limited checks and still fail to fit the agreed shape. Check the join with real parts or faithful doubles and a verified contract; green isolated tests do not prove both implementations correct.

OFTEN MIXED UP WITH Five test levels: parts, systems and acceptance. The levels lesson names integration as one level. This lesson shows how to do it.

PRACTISE AND KEEP

Sources for this topic — 9 sources
  1. Market practice

    ISTQB Certified Tester Foundation Level Syllabus v4.0.1 ↗ — International Software Testing Qualifications Board · Test levels include component integration testing and system integration testing, which look at how parts work together (confirmed against the syllabus, read in full text from a mirror copy of the publisher PDF, v4.0.1, 15 September 2024)

    The examinable statement of what a foundation-level tester is expected to know: six chapters, 64 learning objectives, each tagged K1 Remember, K2 Understand or K3 Apply, plus the test-design techniques the qualification names and groups as black-box, white-box and experience-based.

    Used here for the test-craft questions a Payment Quality Assurance Analyst and a Production Support Analyst are asked. It is cited for what the syllabus says a tester must be able to do, never as a rule about how payments work. · Checked 2026-11-07

    v4.0.1 is dated 15 September 2024 and is a list of corrections to v4.0 (21 April 2023) that reworded six learning objectives — not a cosmetic reissue. 78 pages.

    Two traps this entry exists to stop. v4.0.2 is the German edition (1 March 2025, 94 pages), so sorting by version number reaches the wrong document. And the widely-repeated per-chapter question allocation "8 / 5 / 4 / 11 / 9 / 3" is wrong: it is 8 / 6 / 4 / 11 / 9 / 2, derived from three official sample-exam answer keys and confirmed against the Exam Structure Tables.

    The single most consequential detail for a question bank: white-box coverage — statement and branch — is K2 "Explain", not K3 "Apply" (FL-4.3.1, FL-4.3.2, FL-4.3.3), and MC/DC, path and condition coverage are declared out of scope in §4.3. A question asking a candidate to compute branch coverage is testing something this syllabus does not.

    Read through a mirror, because the publisher's own domain could not be fetched (a reachability gap, not a statement about the publisher). A 403 there is a policy refusal and says nothing about whether the document exists or is reachable elsewhere.

    Anyone on an unrestricted network should open the canonical URL above and confirm the section and page numbers cited against it. Every claim drawn from this entry is written so that it can be checked against a numbered page.

    Read from two independent PDF-to-markdown conversions mirrored on raw.githubusercontent.com. They are treated as faithful because they were produced by unrelated parties with different tooling, agree on the full 64-item objective set including wording, and reproduce the same internal inconsistency present in the source PDF. Chapter 1 reads "testware that supports" where Appendix B reads "that support". A conversion artefact does not replicate across two toolchains.

    The licence permits attributed non-commercial extracts and use as the basis for articles. Whether a site that sells a pass may rely on that is an owner's decision, not this entry's.

    7 November 2026 review: actual publisher PDF 4.0.1, 15 September 2024, 78 pages, front matter/copyright and relevant numbered operative sections 0.5–0.10 and chapters 1–6 compared with CTFLpractice lessons. Earlier mirror/search descriptions are historical access records. TheK2 white-box objectives require explanation; the source does not justify a categorical ban on small numeric illustrations that support explanation. Later Exam Rules 1.2§4.1.4 usesK2 for keyword definitions, while syllabus§0.5 usesK1; keep dated scopes distinct. No copied questions or figure assets.

  2. Market practice

    Integration test (Martin Fowler) ↗ — Martin Fowler · The term integration test is used loosely; an integration test can be narrow, covering the code that talks to another part, or broad (search excerpt, page not opened)

    Per the search excerpt, the term is used loosely, and an integration test can be narrow, covering the code that talks to another part, or broad, covering most of the system. A broad-stack test is often called end-to-end. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  3. Market practice

    Software testing guide (Martin Fowler) ↗ — Martin Fowler · A guide on the test pyramid and the cost and slowness of broad tests (search excerpt, page not opened)

    Per the search excerpt, a guide that discusses the test pyramid and the cost and slowness of broad tests. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  4. Market practice

    Top-down, bottom-up and sandwich integration (Software Test Pilot study notes on the testing syllabus) ↗ — Software Test Pilot · Top-down testing uses stubs for lower parts, bottom-up uses drivers for missing callers, and sandwich mixes the two (search excerpt, page not opened)

    Per the search excerpt, a study site: top-down testing starts with the highest-level parts and simulates lower parts with stubs, bottom-up starts with the lowest parts and uses drivers for missing callers, and sandwich mixes the two. A commercial study site, not the syllabus itself. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  5. Market practice

    OpenAPI Specification v3.1.0 ↗ — OpenAPI Initiative · A written description of an API that both sides can read (registry entry staged in batch 13)

    Standard text. Describes paths, operations, parameters, schemas, required properties and responses; the Responses Object holds at least one response code. Search excerpt only. · Checked 2026-11-08

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

    8 November2026 bounded primary-source update: OpenAPI3.1.0 Introduction actually read 8 November2026: interface description for HTTP APIs. Not full OpenAPI audit or a generic live-message contract.

  6. Market practice

    Integration test (Martin Fowler) ↗ — Martin Fowler · Complete substantive IntegrationTest72–112 incl all narrow/broad definitions, faithful-double/contract caveat, contextual terminology and revision freshly read normalweb7November2026. Published16January2018, revised3June2021. Author guidance, not universal normative taxonomy or full real-service execution.

    Per the search excerpt, the term is used loosely, and an integration test can be narrow, covering the code that talks to another part, or broad, covering most of the system. A broad-stack test is often called end-to-end. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  7. Market practice

    Mocks Aren't Stubs (Martin Fowler) ↗ — Martin Fowler · Fresh complete TheDifferenceBetweenMocksAndStubs240–302 with all5roles and bothmail examples, plus revision391–394 read7November2026; full essay previously read under domain gate. Spy records, mock verifies programmed expectations, libraries can combine roles. Not installed-framework/current-all-library certification.

    Separates state checks from behaviour checks and uses the test double words dummy, fake, stub, spy and mock. Practitioner guidance, not a standard. · Checked 2026-11-08

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

    8 November 2026: bounded Difference Between Mocks and Stubs section, mailing examples, state/behavior explanation and revision history opened. Selected practitioner vocabulary: configured stub responses, recording spies and programmed mock expectations. Article revision 2 January 2007, first publication 8 July 2004. Not a universal library taxonomy.

  8. Market practiceLiving Standard; update observed 19 October 2026

    URL Living Standard ↗ — WHATWG · Previously complete bounded form-urlencoded parser and URLSearchParams units read7November2026: rawplus parsed as space, literalplus encoded by serializer. Scope is form/query encoding, not all email/message transport or a proof of conversion stage from endpoint captures.

    Bounded goals/validation/query/path-query parser/serializer and URLSearchParams slices, plus complete form-urlencoded parser, actually read7November2026. Not whole URL/host parser or all-browser certification. · Checked 2026-11-07

    Only the enumerated URL/form-parser/URLSearchParams units were actually read; no whole host-parser, HTTP authorization or all-browser certification. Synthetic Daily List rules are editorial. No image pixels or reuse eligibility reviewed.

  9. Market practice

    SMTP relaying (Mailpit) ↗ — Mailpit project · Fresh complete SMTPRelay substantive3–105/configuration/notes/environment/automatic all-or-some/browser-defaults read7November2026; automatic modes and recipient controls differ. Test mail can be relayed outward when configured; sandbox name is not an isolation guarantee. No SMTP execution or other-provider certification.

    Current vendor configuration guidance for Mailpit; not a guarantee of real inbox placement or other providers’ behavior. · Checked 2026-11-07

    Complete substantive configuration, notes and environment/manual/automatic units actually read on 7 November 2026 using ordinary web access after direct-fetch403. No SMTP server execution or image/reuse-rights certification. See V72 primary-reading ledger for exact limits.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.