Boundary values: two-value and three-value testing
List every ordered group, including refused inputs. Test each boundary and its neighbours, then count each chosen value once.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: the speed limit sign. A road has a limit of 50. A careful inspector checks a car at 50, which is allowed, and at 51, which is not. That checks both sides of this limit. A stricter inspector also checks 49 and 52, the next speeds on either side. The extra checks may find a slip that the first pair misses.
Daily List, a to-do list app, has a limit too. A list title may have up to 100 characters. Tom, the tester, tests the edge. In the way, he tests 100, which should save, and 101, which should be refused. He does the same at the other edge with 1 and 0. In the way, he tests 0, 1, 2, 99, 100, 101 and 102. The refused group starts at 101, so its neighbour 102 counts too. A title cannot have minus one characters.
The slip he hunts is an , a defect where a limit is counted one too high or one too low. It is small and common. A limit written as less than 100 where less than or equal to 100 was meant is one.
The sign picture has a limit. A road limit is a single number. A software limit may be a count of characters, a date or a list size, and each has its own edges.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)
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 Checking the edge of a limit and its neighbours finds a limit that is one too high or too low, and a third value finds a few slips more.
- State the domain and ordered partitions
- Find every boundary, including refused groups
- Choose neighbours for the method
- Remove repeats and build exact inputs
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| The speed limit sign | The limit written in the rule |
| Checking a car at the limit and just over | At this border, two-value testing uses both adjacent boundary values |
| Also checking the next speed on each side | Three-value testing adds both neighbours of every boundary |
| A car stopped at the limit by mistake | A limit counted one too low |
| A car let through just over the limit | A limit counted one too high |
WHERE THIS PICTURE STOPS
- A road limit is one number. A software limit may be a count, a date or a size, each with its own step.
- An inspector can read the speed from a dial. A tester must build exact values, such as a title of an exact length.
- The picture shows one border. Full coverage also needs every other partition boundary, including the domain ends.
HOOK
Every partition, every boundary, both neighbours; count repeats once.
REMEMBER IT THIS WAY
A contrast: two neighbours told apart by one test.
Two-value uses a boundary and its neighbour across the border. Three-value uses both neighbours of every boundary, including refused groups.
| In the trick | What it stands for |
|---|---|
| two-value | Tests boundaries in both valid and invalid partitions |
| three-value | Includes both possible neighbours and counts repeated values once |
TELL A FRIEND
The sign separates allowed and refused speeds; check the speeds beside it and the next speed on each side. Full coverage also needs other boundaries.
OFTEN MIXED UP WITH Boundary value analysis. The first lesson found the edges of groups. This one chooses how many values to test at each edge.
PRACTISE AND KEEP
Sources for this topic — 3 sources
- Market practice
ISTQB Certified Tester Foundation Level Syllabus v4.0.1 ↗ — International Software Testing Qualifications Board · Foundation Level syllabus v4.0.1, §4.2.1–4.2.2: equivalence partitions and boundary coverage; full PDF opened 2026-10-24. Daily List is a synthetic application.
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.
- Market practice
ISTQB Boundary Value Analysis white paper ↗ — International Software Testing Qualifications Board (ISTQB) · Boundary Value Analysis white paper, pp. 1–4: all partitions, outer boundaries, union of coverage items and impossible string lengths; full PDF opened 2026-10-24. Daily List values are synthetic worked applications.
Complete seven-page official PDF opened 2026-10-24. Pages 1–4 read for all ordered partitions, domain ends, coverage unions and infeasible negative string lengths. Daily List examples apply that method to synthetic rules. Upload directory is not evidence of publication date.
7 November 2026 current review: all 7 pages,§§1–7 read from the actual publisher PDF through normal web opening. All ordered partition boundary values, finite domain ends, feasible neighbors and coverage unions apply. No blanket commercial image-copy grant established at the inspected PDF/listing; official Figures 1–3 are linked candidates, not integrated copies.
- Market practice
Foundation Level testing syllabus, 4.2 Black-Box Test Techniques (US member board of the International Software Testing Qualifications Board) ↗ — American Software Testing Qualifications Board (ASTQB) · Foundation Level testing syllabus, 4.2 Black-Box Test Techniques: boundary value analysis (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. It relays the registered syllabus and adds no independent rule.
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.