Decision Table Generator
Build condition/action decision tables and generate all rule combinations.
Runs 100% client-sideOn this page4 sections
Conditions
Actions
HOW TO USE
- 01Add each condition and its possible values (e.g. Member = Yes/No).
- 02Add the actions or outcomes the rules drive.
- 03The table expands to every condition combination as a numbered rule — fill in the action for each.
- 04Copy the table or Download CSV to share the rule set with the team.
Try it
Conditions: Member tier (Gold/Silver), Coupon (Yes/No) → 4 rules generatedWHEN TO USE
Use Decision Table testing when business logic depends on combinations of conditions -- for example, pricing rules, eligibility checks, discount calculations, or access-control policies. A decision table makes all condition/action combinations explicit and ensures no rule is missed or contradicted.
WHAT BUGS THIS FINDS
Missing rule coverage
Condition combinations that were never specified and fall through to unexpected default behaviour.
Contradictory rules
Two rules that match the same condition set but specify different actions.
Logic inversion
AND/OR operator confusion causing a condition to trigger when it shouldn't.
QA USE CASES
Discount eligibility rules
Conditions: member tier × order value × coupon → determines discount %
Loan approval logic
Conditions: credit score × income × existing debt → approve / decline / manual review
Feature flag access control
Conditions: subscription plan × region × beta flag → feature visible / hidden
Shipping cost calculator
Conditions: weight × destination × express flag → shipping tier