Practical QA guide · 11 min
Decision Table Testing with Examples
Learn how to model combinations of business conditions and actions, simplify rules, and derive effective decision-table test cases.
Written and reviewed by ShiftQA Labs QA Education Team · Updated September 2, 2026
Browse Lessons modules
Turn prose rules into visible combinations
Business requirements often hide combinations inside sentences. A promotion may require an active account, a qualifying order total, and a valid region. A decision table lists each condition, identifies possible values, and maps feasible combinations to actions.
The table exposes omissions and contradictions before execution. If two rules describe the same conditions but different actions, the requirement needs clarification. If a realistic combination has no action, coverage is incomplete.
Create complete and limited-entry tables
A complete table lists all combinations, which grows quickly as conditions increase. A limited-entry table commonly uses yes, no, and “does not matter” values to collapse rules when a condition cannot affect the outcome.
Simplification must preserve behavior. Combine columns only when they produce the same actions and the removed distinctions truly do not matter. Keep impossible combinations visible or document why they are excluded.
Derive tests from rules
Each feasible rule becomes at least one test case. The case supplies concrete data that satisfies the condition combination, executes the decision, and verifies every expected action—including actions that should not occur.
Decision tables handle combinations, not sequence. If the order of events or current state changes behavior, add state transition testing or workflow coverage.
Worked example
Free shipping eligibility
Free shipping applies when the customer is a member and the order is at least $50. Non-members receive free shipping only at $100 or more.
- 1Member = yes, order below $50 → charge shipping.
- 2Member = yes, order $50 or more → free shipping.
- 3Member = no, order below $100 → charge shipping.
- 4Member = no, order $100 or more → free shipping.
- 5Choose boundary-aware data such as $49.99, $50.00, $99.99, and $100.00.
- 6Verify both the displayed shipping charge and the calculated order total.
Frequently asked questions
Questions testers ask
When should I use a decision table?
Use it when an outcome depends on combinations of conditions and the relationships are difficult to cover reliably from prose alone.
Does every column need a test?
Every feasible rule selected by the coverage criterion needs a representative test. Impossible combinations should be documented rather than silently ignored.
Can decision tables include more than yes or no?
Yes. Extended-entry tables can contain ranges, categories, or other values, though large tables may be easier to understand when decomposed.
