How to use Decision Table Generator
- Enter conditions one per line; use "Name: v1, v2" for multi-valued conditions.
- List the actions and, optionally, the rules that map conditions to actions.
- Set a default action and keep collapsing on for the minimal table.
- Generate and export the decision table and its test cases.
Decision Table Generator features
- Boolean and multi-valued conditions with the full combination matrix (up to 1,024 rules)
- Rules written as IF … AND … THEN actions or positional Y, N, - lines
- Default action for unmatched combinations
- Collapse rules with identical outcomes into don't-care entries
- One test case per rule with conditions as test data and actions as expected result
Decision Table Generator example
Discount rules
Input:
Conditions: Customer logged in / Has valid coupon / Cart total: <50, >=50
Rule: IF Customer logged in = Y AND Has valid coupon = Y AND Cart total = >=50 THEN Apply coupon discount, Free shippingOutput:
Rule Customer logged in Has valid coupon Cart total Actions
R1 Y Y >=50 Apply coupon discount, Free shipping
R2 Y Y <50 Apply coupon discount
R3 Y N >=50 Free shipping
R4 N - - Show login promptFrequently asked questions about Decision Table Generator
How do I enter conditions?
One per line. A bare name becomes a Yes/No condition; "Name: v1, v2, v3" defines a multi-valued condition. The generator builds every combination (up to 1,024 rules).
How do rules work?
Write "IF Condition = value AND Other = value THEN action, action" or a positional "Y, N, - => action" line. Combinations that match no rule get the default action.
What does collapsing do?
Rules with identical actions that differ in one condition only are merged into a single rule with a don't-care ("-") entry, giving the minimal table testers actually execute.
Why generate test cases from the table?
Each rule becomes one test case with the condition values as test data and the actions as the expected result — complete decision coverage with no missed combination.