Definition
Decision table
What is a decision table in testing?
A decision table sets out which action a product should take for each relevant combination of conditions. A tester uses the rules in the table to select examples, spot missing outcomes and ask about combinations where two rules appear to conflict.
What does a dash in a rule mean?
A dash can mark a condition whose value leaves the outcome unchanged. Agree that meaning with the rule owner. A combination that cannot occur and a combination with an undecided outcome need their own labels. Otherwise a reader could skip exactly the question the table uncovered.
Worked example
Which parcels qualify for express delivery?
A shop promises express service when an item is in stock and the destination is in its express zone. Include the in-stock, out-of-zone order as well as the qualifying order. If an unavailable item always goes to back order, a single rule can cover both destinations for that case.
Try it on your pull request
Choose a change in your repository and tell Cue April what should happen. Review the proposed checks before they run.
Try Cue April on your repository