Code review for testers
A tester can read a code change and ask what if. You do not need to write code to find missing checks and untested paths.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: reading over a friend's essay. When you read a friend's essay, you do not fix the grammar first. You ask whether it makes sense. "What if the reader has not heard of this? Where is your proof?" You can ask good questions without writing the essay yourself.
Daily List is a to-do list app. Leo has changed the reminder code and wants it merged. He sends it for review. Tom, the tester, opens the change and reads what Leo changed. He does not run the app yet.
Tom sees that the new code reads the due date but never checks if it is empty. He writes a comment: "What happens when the due date is empty?" Leo had not thought of it.
This is : a teammate reads a change and comments before it is merged. A tester brings a different way of thinking to it.
The picture has a limit. An essay is read once, but a code change is read again by tools and by later readers. Also, code can run, so some doubts can be tested.
(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 Reading a change and asking what if, so missing checks show up before the app runs.
- Open the change
- Read each part
- Ask what if
- Note the reply
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| Reading a friend's essay | Reading a code change |
| Asking what if the reader has not heard of this | Asking what happens on the other path |
| Marked-up pages | A diff with comments |
| The friend's reply | The developer's fix |
WHERE THIS PICTURE STOPS
- An essay is read once. Code is read again by tools and later readers.
- An essay cannot run. Code can, so some doubts can be tested.
- A friend may accept a note. A review also needs an approval step.
HOOK
Read, ask what if.
REMEMBER IT THIS WAY
A sequence: the real steps, in order.
Ask of each change: what happens when a value is empty, and what happens on the other path?
| In the trick | What it stands for |
|---|---|
| Empty | the new code never checks if the due date is empty |
| Other path | what happens on the other path |
TELL A FRIEND
Reading over a friend's essay for sense and asking what if. A tester reads a diff the same way.
OFTEN MIXED UP WITH Reviews and static testing. The lesson says reviews find faults without running code. This lesson shows how a tester reads a code change.
PRACTISE AND KEEP
Sources for this topic — 4 sources
- Market practice
What to look for in a code review (Google Engineering Practices) ↗ — Google · Reviewers look at design, functionality, complexity, tests, naming and comments; they ask for tests that would fail when the code breaks (search excerpt, page not opened) | Tests should be in the same change as the production code, with simple and useful assertions (search excerpt, page not opened)
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.
- Market practice
ISTQB Certified Tester Foundation Level Syllabus v4.0.1 ↗ — International Software Testing Qualifications Board · Section 3.2, the review process, review types and roles (confirmed against the syllabus, read in full text from a mirror copy of the publisher PDF, v4.0.1, 15 September 2024) | Reviews are a form of static testing that finds defects without running the code
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 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), read in full text: TTA-5.2.2 (K4) analyse a section of code or pseudo-code and identify problems according to a checklist provided in the syllabus. Section 5.2.2 groups checklist questions into six areas: structure, documentation, variables, arithmetic operations, loops and branches, and defensive programming; an exam question supplies a subset. The note that unreachable code is poor practice but can occur when a switch must have a default case is in section 2.2 on statement testing
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 Syllabus Technical Test Analyst (older edition, BCS-hosted copy) ↗ — BCS, The Chartered Institute for IT (hosting an ISTQB syllabus) · An older edition's review checklists include unreachable code, named constants instead of magic numbers and coding standards (search excerpt, page not opened). Version 4.0 of the syllabus, read in full from a mirror copy, has all three in its section 5.2.2 checklist.
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. Version: an edition before 4.0; the exact edition was not identified.
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.