Skip to main content
Toolsbase Logo

Decision Table Generator

Define conditions and actions to automatically generate a comprehensive decision table with all combinations.

Last updated:

How to Use

Expand how to use
  1. 1

    Define Conditions

    Add the conditions (input conditions) for your test target

  2. 2

    Define Actions

    Add the results (actions) for each combination of conditions

  3. 3

    Generate and Edit Rules

    Auto-generate all combinations and configure the actions for each rule

Presets

Condition Definition

Action Definition

Rule Configuration

With N conditions, all combinations result in 2^N rules (max 10 conditions)

Decision Table

Define conditions and actions, then generate rules

About Decision Table Generator

A decision table is a test design technique that comprehensively organizes actions for all combinations of multiple conditions. This tool automatically generates all combination rules by simply defining conditions and actions, and supports export in CSV and Markdown formats. When writing test cases manually, it is easy to miss edge combinations such as "logged in AND admin role AND within business hours." A decision table makes every combination explicit so nothing is overlooked. The technique is especially powerful for business rules involving three to five conditions, where the number of paths quickly exceeds what a human can comfortably track. Decision tables also serve as a shared language during spec reviews, helping teams spot missing or conflicting behavior definitions before any code is written.

Key Features

  • Auto-generate all combinations by simply entering conditions and actions
  • Edit condition values (Y/N/-) and action values (X/-) for each rule individually
  • Copy and download in CSV and Markdown formats
  • Includes preset templates such as login authentication and discount application
  • Delete individual rules to create a reduced decision table
  • Real-time display of total rule count

Use Cases

  • Testing e-commerce discount logic — combinations of membership tier, coupon code, and cart total
  • Verifying SaaS permission logic across user roles (admin, editor, viewer) and plan levels
  • Documenting complex branching rules in a payment flow or checkout process
  • Spotting missing condition combinations during spec review before development starts
  • Creating a shared reference table for both QA engineers and business stakeholders
  • Generating comprehensive test cases for access control rules in a multi-tenant application

Frequently Asked Questions

What is a decision table?

A decision table is a tabular representation that comprehensively describes what actions to take for each combination of multiple conditions. It is widely used as one of the software test design techniques.

What do Y/N/- mean for conditions?

Y (Yes) means the condition is true, N (No) means the condition is false, and - (Don't care) means the condition's value does not affect the outcome.

How many conditions are supported?

Up to 10 conditions (1,024 rules) are supported. As the number of conditions increases, the number of combinations grows exponentially, so narrow down the rules as needed.

What types of features benefit most from decision tables?

Decision tables work best when multiple input conditions combine to determine a single outcome. Good examples include e-commerce discount logic (membership tier + coupon + order amount), SaaS access control (user role + subscription plan + feature flag), and multi-step form validation with conditional fields.

Can I reduce the table after generating all combinations?

Yes. Removing rules that represent impossible combinations in your real system is called creating a "reduced decision table." After deleting rules, review the remaining table as a team to confirm it still covers all relevant scenarios.

Where can I use the exported CSV or Markdown?

The CSV export can be opened in Excel or Google Sheets as a tracking sheet. The Markdown format pastes directly into GitHub PR comments, Notion pages, Confluence documents, or any other Markdown-compatible tool.