Decision tables, state models and pairwise sets with AI
A recipe for using an assistant to draft decision tables, state models and pairwise input, then counting rules, tracing states and letting a tool do the pair maths.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a fast sketch artist. A sketch artist draws an outline in seconds. It looks good from across the room. But if you count the fingers on the hand, the count may be off. The artist is quick at the shape and less careful with the count.
Daily List is a to-do list app. Tom, the tester, asks an assistant to help him test reminders. A reminder can be scheduled, sent, snoozed or done. The assistant draws a state model fast. It adds a 'paused' state that the app does not have. It also forgets that a snoozed reminder can be marked done.
Tom does not redraw the whole thing. He counts and traces. He counts the rules in a decision table. He traces each state to a sentence in the written rules. He gives the pair maths to a tool.
That is the recipe: let the assistant sketch, and let counting and tools check the lines. The picture has a limit. A sketch artist sees the person in front of them. The assistant only sees the words you give it.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named here are made up.)
PLAIN WORDS · 2 in this section
- snoozed
- Set to remind again a little later.
- redraw
- draw again
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 Using an assistant to sketch a decision table, a state model and pairwise input, then counting, tracing and letting a tool do the pair maths.
- Give the rule text
- Sketch the model
- Count and trace
- Tool for pairs
- Check the gaps
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| The quick sketch outline | The assistant's first table or model |
| Counting the fingers on the drawn hand | Counting rule columns and tracing states |
| A sixth finger that is not there | An invented state |
| A ruler used for measuring | A pairwise tool for the maths |
WHERE THIS PICTURE STOPS
- A sketch artist sees the subject. An assistant sees only the words you give it.
- A drawing keeps one shape. An assistant may sketch a different model each time you ask.
- A ruler measures exactly. A pairwise tool is exact only for the input you give it.
HOOK
Sketch with the assistant, count with your hands, measure with a tool.
REMEMBER IT THIS WAY
A story beat: one picture-line that carries the order or the cause.
The assistant drew a paused state that Daily List does not have. Tom traced each state to a sentence in the written rules and found it.
| In the trick | What it stands for |
|---|---|
| Paused | An invented state |
| Tracing | Counting rule columns and tracing states |
| Written rules | A sentence in the written rules |
It misleads when the written rules themselves leave out a state, so ask Nina.
TELL A FRIEND
Let the assistant sketch, then count the rules, trace each state, and give the pair maths to a tool.
OFTEN MIXED UP WITH Test cases, test data and boundary ideas with AI, and what to correct. The earlier lesson drafted partitions, boundaries and cases. This lesson covers three techniques that fail in other ways.
Sources & standards — 4 sources
- Market practice
Decision table basics: completeness and testability (Lohrfink manual) ↗ — lohrfink.de (LFET manual) · With n yes-or-no conditions a full table has 2 to the power n rules; completeness has a content side (all conditions and actions captured) and a form side (every combination entered), and it only works once redundant and contradictory rules are removed (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; read at the time of writing. 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
State transition testing (TMap wiki) ↗ — TMap · A state table shows both the valid and the invalid transitions, so it can be used to test both (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; read at the time of writing. 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
microsoft/pict (PICT, Pairwise Independent Combinatorial Testing, repository) ↗ — Microsoft (GitHub) · PICT is a command-line tool driven by a plain-text model file: parameters go on separate lines, constraints use IF and THEN, and the tool produces a compact set that covers every pair of values (search excerpt via secondary pages, repository 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
Automated Combinatorial Testing for Software: Frequently Asked Questions ↗ — National Institute of Standards and Technology (NIST), Computer Security Resource Center · Explains combinatorial testing, which tests chosen combinations of input values instead of all of them, and the tools that generate such sets (registry source, general description, page not opened in this batch)
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.
PRACTISE AND KEEP
Sources for this topic — 4 sources
- Market practice
Decision table basics: completeness and testability (Lohrfink manual) ↗ — lohrfink.de (LFET manual) · With n yes-or-no conditions a full table has 2 to the power n rules; completeness has a content side (all conditions and actions captured) and a form side (every combination entered), and it only works once redundant and contradictory rules are removed (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; read at the time of writing. 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
State transition testing (TMap wiki) ↗ — TMap · A state table shows both the valid and the invalid transitions, so it can be used to test both (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; read at the time of writing. 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
microsoft/pict (PICT, Pairwise Independent Combinatorial Testing, repository) ↗ — Microsoft (GitHub) · PICT is a command-line tool driven by a plain-text model file: parameters go on separate lines, constraints use IF and THEN, and the tool produces a compact set that covers every pair of values (search excerpt via secondary pages, repository 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
Automated Combinatorial Testing for Software: Frequently Asked Questions ↗ — National Institute of Standards and Technology (NIST), Computer Security Resource Center · Explains combinatorial testing, which tests chosen combinations of input values instead of all of them, and the tools that generate such sets (registry source, general description, page not opened in this batch)
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.