Choosing white-box coverage: safety levels, subsumption and API testing
Learn how to pick a white-box technique, how coverage criteria rank, what safety levels ask for, and where interface testing fits.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: choosing a lock for a door. A garden shed needs a simple latch. A bank vault needs a strong lock, a guard and a log. Strong locks cost more and slow people down. So you match the lock to what could be lost.
Daily List is a made-up to-do app. Mei, the test lead, asks Tom to pick how much white-box coverage each part of the code needs. The login code guards user data. The colour theme code does not. Tom needs a way to choose.
He also has a second job. Leo, the developer, has built a small interface that other programs can call. It is an application programming interface, or . Tom must say what testing it needs.
The picture has a limit. A lock either holds or does not. Coverage is a sliding measure.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)
PLAIN WORDS · 1 in this section
- latch
- a switch that stays set until reset
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 Choosing a lock for each door of a building, from a latch on a shed to a vault door with a guard.
- Shed latch: low risk
- Vault door: high risk
- The rule behind the door
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| A latch on the garden shed | Informal statement coverage for low risk code |
| A strong lock on the bank vault | A strict coverage level for high risk or safety code |
| A strong lock that includes the weaker lock | One criterion subsuming another |
| A rule that sets the lock by what is behind the door | A safety standard that sets coverage by integrity level |
WHERE THIS PICTURE STOPS
- A lock either holds or does not, but coverage is a sliding measure.
- A building has a few doors, but code has many parts with shared risk.
HOOK
Match the lock to what is behind the door.
TELL A FRIEND
Think of a building where each door gets the lock that fits what is behind it.
OFTEN MIXED UP WITH Condition coverage counts: N+1, 2 to the power N, short-circuiting and coupling. The earlier lesson counts the tests for each condition level. This lesson chooses which level to use.
PRACTISE AND KEEP
Sources for this topic — 6 sources
- Market practice
ISTQB Certified Tester Advanced Level Technical Test Analyst (CTAL-TTA) Syllabus v4.0 ↗ — International Software Testing Qualifications Board (ISTQB) · Mirror copy of the publisher PDF (ISTQB syllabus CTAL-TTA v4.0, 30 June 2021), version checked against the document's own front matter, read in full text: section 2.8 (TTA-2.8.1, K4) selecting a white-box test technique, printed pages 18-19: required coverage level; black-box first, then measure coverage; only specify 100 percent; one criterion is enough; subsumes hierarchy (branch and decision subsume statement, modified condition/decision subsumes decision and branch, multiple condition subsumes modified condition/decision); different levels for different parts by risk
Text read in full from a mirror copy of the publisher PDF (ISTQB syllabus CTAL-TTA v4.0, dated 2021-06-30 in its footer), version checked against the document's own front matter. The page at this URL was not opened. Licence terms were not read, so put it in your own words and do not quote it.
Specialist review 6 November 2026: Actual CTAL-TTA4.0 §3.3 dynamic-analysis body reviewed; no claim of a full-syllabus review. Professional certification guidance, not binding legislation or a formal ISO standard. Inherited full-text descriptions are not a claim that this audit read every PDF page.
- Market practice
ISTQB Certified Tester Advanced Level Technical Test Analyst (CTAL-TTA) Syllabus v4.0 ↗ — International Software Testing Qualifications Board (ISTQB) · Mirror copy of the publisher PDF (ISTQB syllabus CTAL-TTA v4.0, 30 June 2021), version checked against the document's own front matter, read in full text: sections 2.8.1 and 2.8.2 (TTA-2.8.1, K4) non-safety and safety-related systems, printed pages 19-20: eight factors (contract, customer, regulatory standard, test strategy, coding style, historical defect information, skills and experience, tools); IEC 61508 four safety integrity levels and the statement, branch and modified condition/decision recommendation table; ISO 26262 and
DO-178CdifferText read in full from a mirror copy of the publisher PDF (ISTQB syllabus CTAL-TTA v4.0, dated 2021-06-30 in its footer), version checked against the document's own front matter. The page at this URL was not opened. Licence terms were not read, so put it in your own words and do not quote it.
Specialist review 6 November 2026: Actual CTAL-TTA4.0 §3.3 dynamic-analysis body reviewed; no claim of a full-syllabus review. Professional certification guidance, not binding legislation or a formal ISO standard. Inherited full-text descriptions are not a claim that this audit read every PDF page.
- Market practice
ISTQB Certified Tester Advanced Level Technical Test Analyst (CTAL-TTA) Syllabus v4.0 ↗ — International Software Testing Qualifications Board (ISTQB) · Mirror copy of the publisher PDF (ISTQB syllabus CTAL-TTA v4.0, 30 June 2021), version checked against the document's own front matter, read in full text: section 2.7 (TTA-2.7.1, K2) API testing, printed pages 17-18: a type of testing, not a technique; negative testing; combinatorial testing of interfaces; recovery and retry; tools needed; coverage is not a fixed level; input and output coverage criteria for RESTful APIs; typical defects (interface, data handling, timing, lost and duplicated transactions, exception handling)
Text read in full from a mirror copy of the publisher PDF (ISTQB syllabus CTAL-TTA v4.0, dated 2021-06-30 in its footer), version checked against the document's own front matter. The page at this URL was not opened. Licence terms were not read, so put it in your own words and do not quote it.
Specialist review 6 November 2026: Actual CTAL-TTA4.0 §3.3 dynamic-analysis body reviewed; no claim of a full-syllabus review. Professional certification guidance, not binding legislation or a formal ISO standard. Inherited full-text descriptions are not a claim that this audit read every PDF page.
- Market practice
Glossary of testing terms from the International Software Testing Qualifications Board (equivalence partition, equivalence partitioning, boundary value) ↗ — International Software Testing Qualifications Board (ISTQB) · Glossary entries for subsumes and safety integrity level (search excerpt, page not opened)
Seen as a search excerpt; the page was not opened. The authoring container could not resolve this publisher's host name when a fetch was tried on 12 October 2026 for related hosts, so this is a reachability gap and not a statement about the publisher. The glossary has an older and a newer version of the entry for equivalence partitioning; the newer one defines the partition rather than the technique.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
What this simplifies: Daily List and its code are invented. Real safety standards have many more rules than this lesson gives.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.
- Market practice
ISTQB CTAL-TTA syllabus v 4.0 ↗ — International Software Testing Qualifications Board · ISTQB CTAL-TTA v4.0, 30 June 2021; publisher download opened 6 November 2026. Sections 2.4–2.8 and 3.2. Syllabus guidance does not substitute for a safety standard or the delivered build evaluation policy.
Version 4.0, 30 June 2021; front matter checked. Official download opened 6 November 2026. Paraphrased for teaching; no licence claim.
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.