TOPIC 03/5112 MINNOT STARTED

Positive and negative testing

Test with the right input to see the normal outcome, then with wrong input to see a safe refusal. The normal route comes first.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: the door and its keys. To test a door you first open it with the right key. It should open. Then you try a wrong key. The door should stay shut and stay safe. Both checks matter. A door that opens for any key is no door, and a door that opens for no key is no use.

A wrong key is only one way to fail. You could try a bent key, no key, or a key for another door. There are many more ways to be wrong than to be right. That is the hard part of this topic.

Daily List, a to-do list app, has a sign-up form. Tom, the tester, signs up with a good email address. That is a : it uses valid input and expects the normal outcome. The route from sign-up to a new account, when everything goes right, is the . Then Tom tries an email with no @ sign. That is a negative test: it uses invalid input and expects a safe refusal.

The door picture has a limit. A door has one lock. An app has many inputs and many steps, and each can fail in its own way. A tester must choose which wrong keys to try.

(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 Trying the right key and then wrong keys shows that the door opens when it should and stays shut when it should.

  1. Open it with the right key
  2. Try one wrong key
  3. Check the door stays shut and safe
  4. Try a different kind of wrong key
Four checks for any form

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
Opening the door with the right keyA positive test: valid input, normal outcome
The usual way everyone entersThe happy path
Trying a wrong keyA negative test: invalid input, safe refusal
The door stays shut and safeThe expected result of a negative test
A bent key, no key, a key for another doorDifferent ways to be invalid, each worth one test

WHERE THIS PICTURE STOPS

  • A door has one lock. An app has many inputs and steps, and each can fail in its own way.
  • Unusual input can be valid: an email with a permitted uncommon symbol is a positive test, not automatically a wrong key.
  • A door is tried by one person at a time. An app may meet many people, and some will try wrong keys on purpose.

HOOK

Right key first, then one wrong key at a time.

REMEMBER IT THIS WAY

A contrast: two neighbours told apart by one test.

A expects the door to open; a expects it to stay shut and safe. Vary the wrong key one kind at a time.

What each part of the trick stands for
In the trickWhat it stands for
positiveIt uses valid input and expects the normal outcome
negativeIt uses invalid input and expects a safe refusal

TELL A FRIEND

A door test tries the right key and then wrong keys. A form test tries valid input and then invalid input, one fault at a time.

OFTEN MIXED UP WITH Writing test conditions and test cases. Test cases hold an input and an . Positive and negative say which kind of input the case uses.

PRACTISE AND KEEP

Sources for this topic — 4 sources
  1. Market practice

    ISTQB Certified Tester Foundation Level Syllabus v4.0.1 ↗ — International Software Testing Qualifications Board · Foundation Level syllabus v4.0.1, chapter 4 (test analysis and design), section 4.2.1: equivalence partitioning, valid and invalid partitions (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

    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: equivalence partitioning with invalid partitions (search excerpt, page not opened)

    A second publisher for the syllabus section on equivalence partitioning, boundary value analysis, decision table testing and state transition testing. Cited for the names of the four techniques and the syllabus objectives that ask a tester to apply each. · Checked 2026-10-12

    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.

  3. Market practice

    Open Worldwide Application Security Project cheat sheet series: input validation ↗ — Open Worldwide Application Security Project (OWASP) · Input validation cheat sheet: treat input as untrusted and refuse what does not match the rules (search excerpt, page not opened)

    The Open Worldwide Application Security Project's cheat sheet on input validation. Cited for three points: check both the syntax and the meaning of a value, reject invalid input with a clear error, and check data again where it crosses a trust boundary. · Checked 2026-10-18

    Search excerpt, page not opened: returned by WebSearch on 2026-10-18. The excerpts did not use the phrase as early as possible in the data flow, so this site does not quote it. It is guidance for software in general, not for payments.

    V34 review, 6 November 2026: Read complete official repository sheet. Syntax, semantic business rules, server checks and safe handling of legitimate Unicode/punctuation have distinct roles.

  4. Market practice

    Destructive testing ↗ — Wikipedia · Wikipedia. Search excerpt, page not opened.

    Destructive software testing tries to make software fail in an unplanned way, to measure how well it copes and find where it breaks. · Checked 2026-10-19

    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.

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.