Decision Table Generator
Generate every rule from a set of conditions as a decision table.
Each condition and its possible values. Every combination of values becomes one rule.
Outcomes to decide for each rule. The table leaves these blank for you to fill in.
This tool needs JavaScript enabled to run in your browser.
What this tool does
This tool builds a decision table from the conditions you list. It generates every combination of condition values as a rule, so you can see the full set of cases at a glance and fill in the action each rule should trigger. Export the table as CSV when you are done.
Why decision tables help
When behaviour depends on several conditions, it is easy to miss a combination. A decision table lays out every combination as a column, which makes gaps and contradictions obvious: two rules with the same conditions but different actions, or a rule nobody thought about. Working through the table is a reliable way to turn tangled business rules into clear, testable cases.
How to use it
- Add a condition for each factor, with its possible values (often Yes and No, but any list works).
- Add the actions or outcomes you want to decide.
- Generate the table. Each column is one rule; the condition cells are filled, the action cells are left blank.
- Fill in the actions, then copy or download the table as CSV for your test plan.
Keeping it manageable
The number of rules multiplies with each condition and value, so a handful of conditions can produce a large table. If it grows too far, group related conditions, split the table, or drop combinations that cannot occur. Very large tables are capped here so the page stays responsive, and the count is shown so you know when that happens.
Frequently asked questions
- How many rules will it make?
- One per combination of condition values, which is the product of each condition's value count. A few conditions can produce a large table, so very large tables are capped.
- Does it fill in the actions?
- No. It generates the condition combinations and leaves the action cells blank for you to complete, since the outcomes are your decision.
Learning resources
Testsmith also runs hands-on courses and a free practice app for the skills behind this tool.