Testing the mixes the product forbids
Some mixes of settings are not allowed. A tester picks one forbidden mix per rule, checks the product says no in clear words, and checks that nothing was half saved.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a menu that forbids two dishes together. A menu says you cannot order the fish with the cheese sauce. You test two things. The waiter must say no, kindly and clearly. And the kitchen must not have started cooking either dish.
Daily List is a to-do list app. Its settings can be mixed, but a few mixes are not allowed. A free plan cannot switch on calendar sync. The website cannot send push messages, because push needs the phone app.
Each banned mix is a , a mix of settings that the product must refuse. When it refuses, it gives an , the clear message or code a product gives when it turns down a request. Tom, the tester, tests both.
He also checks for a , a refused request that still left part of its data stored. A product that says no but keeps half of the answer is not safe.
The picture has a limit. A waiter can see the kitchen. A tester must look in the data to see if anything was stored.
(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 Choosing forbidden mixes of settings, checking the product refuses them clearly, and checking nothing was kept.
- Refused
- Clear
- Nothing saved
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| A menu that forbids two dishes together | A forbidden combination |
| The waiter says no, kindly and clearly | An expected refusal |
| The kitchen has not started cooking | No partial save |
WHERE THIS PICTURE STOPS
- A waiter can see the kitchen. A tester must look in the data.
- A menu has a few banned pairs. A product may have many rules that overlap.
- A waiter says no once. A product must say the same no on every channel.
HOOK
Say no, say why, save nothing.
REMEMBER IT THIS WAY
A rule of thumb: if you see this, think that.
If a mix of settings is banned, test the refusal and then look in the stored data. A clear message alone can hide a half-saved request.
| In the trick | What it stands for |
|---|---|
| Refusal | the expected refusal, a clear message or code |
| Stored data | a partial save, part of its data stored |
It misleads when the refused request could not have written anything.
TELL A FRIEND
A forbidden-mix test is the menu that bans two dishes: the waiter must say no clearly, and the kitchen must not have cooked anything.
OFTEN MIXED UP WITH Constraints and must-have tests in combinations. The constraints lesson removes banned mixes from a built set. This lesson tests the banned mixes on purpose, one rule at a time.
PRACTISE AND KEEP
Sources for this topic — 5 sources
- Market practice
Negative Testing (Ministry of Testing glossary) ↗ — Ministry of Testing · Negative testing checks that, under set conditions, the system does not show, allow or do something (search excerpt, page not opened)
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.
- Market practice
Paper on invalid value combinations in combinatorial testing (Foegen, 2018, University of Aachen software construction chair; title not seen) ↗ — University of Aachen (software construction chair) · Invalid value combinations are important but only indirectly supported by tools, and when a negative test fails, other values in the same test are masked and stay untested (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
Method and system for supporting negative testing in combinatorial test case generators (US patent 6928393) ↗ — Google Patents (US patent record) · A patent record describes giving each negative test case exactly one invalid value, and merging those with a separate suite of all-valid tests (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
Pairwise Testing in the Real World: Practical Extensions to Test-Case Scenarios ↗ — Microsoft (MSDN, software testing archive) · Impossible combinations are best removed while the set is built, and seed rows are honoured only when they obey the rules (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Archived article; no edition number found. 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
Automated Combinatorial Testing for Software: Frequently Asked Questions ↗ — National Institute of Standards and Technology (NIST), Computer Security Resource Center · Most software failures involve one or two parameters, so testing all pairs is a strong start (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Project page as listed on the publisher's site; no edition number found. 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.