A decision table represents the actions or outcomes that follow combinations of defined conditions. It is useful when several requirements influence a decision and a prose description is difficult to interpret consistently. By showing the combinations explicitly, a team can identify missing cases, conflicting rules and assumptions that deserve review. The fictional examples below examine equipment reservations, educational resource requests and a community venue allocation arrangement. They explain how to construct complete tables, simplify rules carefully and derive useful test cases without confusing a documented rule with an authorized policy.
Quick Answer
Define the decision and conditions, enumerate feasible combinations, specify authorized outcomes, check conflicts and gaps, and derive representative tests from the rules.
Table Of Contents
- What Is A Decision Table?
- Establish The Decision Boundary And The Applicable Rules
- Worked Example: Enumerate All Binary Combinations
- Worked Example: Simplify Rules With Irrelevant Conditions
- Distinguish False, Unknown And Not Applicable
- Worked Example: Identify Conflicting And Missing Rules
- Derive Test Cases From The Table
- Maintain Rules When Requirements Change
- Reusable Decision Table Worksheet
- Frequently Asked Questions
What Is A Decision Table?
The ISTQB glossary definition of decision table testing describes a test technique based on combinations of conditions and the resulting actions represented in a table. The ASTQB discussion of black-box test techniques places decision tables among techniques for examining complex logic. Decision tables are also useful outside software, whenever an organization must explain how defined requirements lead to particular decisions.
A condition is a fact or state relevant to the decision. An action is what the applicable rule requires or permits when specified conditions exist. A rule connects a combination of conditions to an outcome or action. Some tables arrange rules as columns, with conditions and actions appearing as rows. Others use one row per rule. The examples in this article use the latter format because it makes the complete combination easy to read on a narrow display.
A decision table differs from a decision matrix used to score competing alternatives. A matrix may compare how well several candidates satisfy weighted criteria; a decision table describes the result associated with particular condition combinations. Our decision matrix examples explain the scoring approach. A table of rules should not quietly substitute a favorable score for a mandatory condition.
Establish The Decision Boundary And The Applicable Rules
Consider a fictional community sports association allocating demonstration equipment to eligible members. A request may be accepted only when the member meets the defined eligibility requirement, a suitable equipment kit is available and the required allocation verification has been established. The example is intentionally simplified; an actual lending arrangement may contain additional conditions and authorized alternatives.
Define the decision precisely. It concerns whether a requested kit can be accepted for allocation at a specified checkpoint, not whether the participant is permanently entitled to equipment or whether every future request can be fulfilled. A missing or unresolved condition may call for clarification rather than a definitive rejection.
| Element | Fictional Definition |
|---|---|
| Decision | Accept The Requested Allocation At The Defined Checkpoint |
| Condition A | Eligibility Confirmed |
| Condition B | Suitable Kit Available |
| Condition C | Required Verification Established |
| Outcome | Accepted Allocation Or Appropriate Unresolved Response |
| Boundary | One Eligible Request At The Specified Decision Point |
The meaning of each condition must be understandable and supported by evidence. A kit listed in inventory is not automatically suitable and available for the particular request. The existence of a record is not the same as verification of the relevant requirement. Our problem definition examples explain why the actual condition and its observation boundary should be established before selecting or testing a rule.
Worked Example: Enumerate All Binary Combinations
If a decision has n independent condition dimensions and each has two possible modeled values, the unrestricted combination count is two raised to the power n. Three binary dimensions produce eight combinations. This is a counting statement about the model, not an assumption that the conditions are statistically independent or that each combination is equally likely.
In the simplified allocation case, each condition is represented as confirmed or not confirmed. Not confirmed includes the absence of sufficient confirmation at the defined checkpoint. The table does not claim that every unconfirmed condition has the same underlying reason. Additional information can be recorded when the appropriate next action depends on that reason.
| Rule | Eligibility Confirmed | Suitable Kit Available | Verification Established | Result |
|---|---|---|---|---|
| R1 | Yes | Yes | Yes | Accept Allocation |
| R2 | Yes | Yes | No | Obtain Required Verification |
| R3 | Yes | No | Yes | Investigate Suitable Availability |
| R4 | Yes | No | No | Investigate Availability And Verification |
| R5 | No | Yes | Yes | Resolve Eligibility |
| R6 | No | Yes | No | Resolve Eligibility And Verification |
| R7 | No | No | Yes | Resolve Eligibility And Availability |
| R8 | No | No | No | Resolve Relevant Missing Conditions |
Only R1 satisfies all three modeled requirements. The remaining rows specify relevant issues that prevent acceptance at the checkpoint. The appropriate operational order for resolving those issues may depend on the actual process. For example, the association might resolve eligibility before consuming effort investigating a specific allocation. The table identifies the conditions and permitted result; it is not necessarily a chronological instruction.
A row can also reveal a modeling problem. Suppose verification cannot logically be established unless the kit is available. Under that particular definition, rows R3 and R7 would be infeasible rather than ordinary possible states. Review the actual condition meanings and document such constraints instead of claiming complete operational test coverage simply because eight rows have been printed.
Worked Example: Simplify Rules With Irrelevant Conditions
Suppose the association has confirmed through its approved policy that an allocation cannot be accepted when eligibility is not confirmed, regardless of the remaining conditions. The immediate action in that case is to resolve eligibility before investigating the requested allocation further. A simplified table could group rules by this priority.
| Rule | Eligibility | Availability | Verification | Immediate Action |
|---|---|---|---|---|
| S1 | No | Any | Any | Resolve Eligibility |
| S2 | Yes | No | Any | Investigate Suitable Availability |
| S3 | Yes | Yes | No | Obtain Required Verification |
| S4 | Yes | Yes | Yes | Accept Allocation |
Here Any means that the corresponding modeled value does not affect this particular immediate action. It does not mean that the condition has been satisfied or that the associated requirement no longer applies. After eligibility has been resolved, the decision must be evaluated again using the current conditions.
S1 covers four of the eight original binary combinations, S2 covers two, and S3 and S4 each cover one. Their coverage totals eight, with no overlap under the stated interpretation. This simplification is valid for the immediate-action decision described here. It is not identical to the first table’s fuller list of all unresolved conditions. The output being modeled has changed from reporting every relevant gap to selecting the first response.
Our process mapping examples explain how actions and decisions relate to the actual work sequence. A decision table can clarify a rule, while a process map may be needed to show how the decision is revisited after new evidence becomes available.
Distinguish False, Unknown And Not Applicable
A common problem arises when a table treats every missing piece of information as a definitive false condition. Consider an educational materials exchange that accepts requests for approved reference packs. It needs to determine whether the request falls within its defined service scope. Some records provide clear evidence that the request qualifies, some establish that it does not qualify and others are incomplete.
| Eligibility State | Meaning | Example Response |
|---|---|---|
| Confirmed | Available Evidence Establishes Qualification | Evaluate Remaining Conditions |
| Not Qualified | Available Evidence Establishes Requirement Not Met | Apply Appropriate Authorized Response |
| Unknown | Evidence Is Insufficient To Determine Status | Obtain Clarification Through Accepted Route |
Unknown is not the same as not qualified. Collapsing the two can lead to an inappropriate denial or a misleading record. Similarly, not applicable means the condition does not apply under a defined rule, rather than that its value is unknown. Define those states explicitly when they have different consequences.
If eligibility has three possible modeled states and availability has two, there are six unrestricted combinations before any other conditions are added. If verification also has two, the count becomes 12. In general, multiply the number of modeled levels for each dimension. Review which combinations are actually feasible and which require different responses.
Our Is/Is Not analysis examples distinguish a verified unaffected condition from an uninspected one. The same discipline is important when creating rule tables. Treat evidence gaps as genuine states rather than silently assigning a convenient value.
Worked Example: Identify Conflicting And Missing Rules
A fictional community venue association has two simplified proposed rules for handling eligible room requests. One rule says an eligible request with an available suitable room can proceed to confirmation. Another says any request with unresolved required approval must wait for that approval. If a request is eligible, the room is available and approval remains unresolved, both rules may appear applicable, but their actions differ.
The problem is not solved by placing one rule first without explaining the applicable priority. The association should establish whether confirmation requires the approval condition and document the intended action. If it does, the acceptance rule must include that condition. The waiting rule can then apply to the relevant unresolved state.
| Example Condition Combination | Initial Rule Issue | Clarification Needed |
|---|---|---|
| Eligible, Room Available, Approval Unresolved | Conflicting Outcomes | Confirmation Requires Approved Status |
| Eligibility Unknown, Room Available | No Explicit Rule | Define Appropriate Clarification Route |
| Room Unavailable, Approval Confirmed | Possible Missing Response | Define Suitable Alternative Or Unresolved Status |
A missing rule does not automatically authorize a default acceptance or rejection. A table may include an explicit fallback for unresolved or invalid inputs, provided the fallback matches the applicable policy and supports an appropriate response. Avoid selecting a default simply because it is easy to implement.
Our poka yoke examples explain why required information and discrepancy responses need precise definitions. A decision table can expose conditions in which an apparently valid input fails to establish the required outcome. That makes it useful in the design of a reliable acceptance arrangement.
Derive Test Cases From The Table
Each feasible rule combination represents a candidate test condition. For the simplified sports equipment table, the team can create fictional representative requests covering the eight binary combinations, or cover the underlying combinations through a suitable test design when simplified rules are used. The expected action should follow the agreed rule, and the observed result should be recorded separately.
| Test Case | Condition Combination | Expected Immediate Action |
|---|---|---|
| T1 | Eligibility, Availability And Verification Confirmed | Accept |
| T2 | Eligibility And Availability Confirmed; Verification Unresolved | Obtain Verification |
| T3 | Eligibility Confirmed; Availability Not Confirmed | Investigate Availability |
| T4 | Eligibility Not Confirmed; Other Conditions Present | Resolve Eligibility |
These four test cases illustrate the four simplified rules. They do not necessarily test every combination hidden by Any. For S1, there are four possible combinations of availability and verification. If the purpose is to establish that those values truly do not affect the response, examine appropriate representative combinations rather than assuming a single test establishes that behavior.
Test infeasible combinations where the system could receive inconsistent input, if that investigation is authorized and relevant. The expected result might be an identified data inconsistency rather than an ordinary decision outcome. For a real implementation, use suitable testing methods and preserve applicable requirements. The fictional cases here demonstrate rule logic, not an exhaustive professional verification protocol.
Our design of experiments examples explain how defined combinations can be investigated through planned tests. Decision-table testing is concerned with the intended result of condition combinations; a factorial experiment instead investigates measured effects of varied factors. Both require clear definitions, but their objectives differ.
Consider a decision with two separate numeric boundaries. A fictional room request may be eligible for an ordinary review when its proposed attendance is at most 20 people and the requested period is at most two hours. Both limits must be satisfied for that particular review route. Cases at exactly 20 and exactly two hours should be included alongside cases just above each boundary. A request exceeding either limit may require a different authorized review rather than automatic rejection. If both limits are exceeded, determine whether the same alternative review applies or whether the combination changes the required response. This is a useful example of examining several interacting conditions rather than testing each limit alone.
Coverage can be calculated against the feasible rule set when that is the declared test basis. Suppose an approved table contains eight feasible rules and a test suite has exercised six distinct rules. The achieved rule coverage is six divided by eight, or 75%. Repeating tests of the same six rules does not increase that particular coverage measure. A separate measure may describe whether the observed outcomes matched expectations, and another may examine boundary values or invalid inputs. Report those measures separately. A suite can cover every modeled rule and still reveal failures, and a high pass proportion can coexist with untested rules. Coverage describes what has been examined rather than certifying correctness.
Maintain Rules When Requirements Change
Suppose the sports association adds an authorized assisted request route. The eligibility condition remains relevant, but its supporting evidence may be established through a different arrangement. The team must determine whether the decision table still describes the appropriate condition states or whether a new condition or outcome is needed.
Preserve the original approved rule set and document changes. Revisit tests affected by the revision and examine legitimate exceptions. A decision table may look complete while depending on an obsolete definition of eligibility or verification. Our standardized work examples explain how a repeatable arrangement needs current supporting information and maintained conditions.
A rule table is not an authorization source in itself. It represents rules established through the applicable decision process. If a rule appears inconsistent with an important requirement, obtain clarification rather than editing the table to implement a preferred outcome. Document the responsible role, effective date and supporting reference.
Where a decision depends on a threshold, make the boundary explicit rather than writing a condition whose meaning varies between readers. Suppose an approved room request must be submitted at least three operating days before the relevant review. A request submitted exactly three operating days before the checkpoint satisfies that particular timing condition under the stated wording; a request submitted two days before does not. The rule still depends on how the operating days and submission time are defined. Include representative boundary cases in the test plan, particularly when two adjacent conditions use greater-than and greater-than-or-equal conventions.
It may also be necessary to distinguish several actions that apply at the same time from mutually exclusive outcomes. An unresolved request might require both recording the missing information and notifying an authorized coordinator. Those actions can coexist. By contrast, accepted and not accepted are distinct states at the same decision checkpoint under the simplified allocation example. Clearly mark whether a rule produces one exclusive result or a set of applicable actions. This prevents readers from treating two compatible actions as a conflict or two incompatible outcome states as ordinary parallel instructions.
Reusable Decision Table Worksheet
| Field | What To Record |
|---|---|
| Decision | Precise Question, Scope And Authority |
| Conditions | Defined States, Evidence And Applicable Values |
| Rules | Feasible Combinations And Expected Results |
| Unknowns | Missing, Unresolved And Not Applicable States |
| Conflicts | Overlapping Rules And Approved Priority |
| Coverage | Missing Combinations And Justified Infeasibility |
| Tests | Representative Inputs, Expected And Actual Results |
| Maintenance | Current Version, Requirements And Review |
Keep the table traceable to its approved decision basis. Review it with the people who interpret the rules and the people responsible for verification. A useful decision table makes complex logic visible, identifies unresolved cases and supports consistent decisions without pretending that a complete grid proves the underlying policy or implementation is correct.
Frequently Asked Questions
What is a decision table?
A representation of condition combinations and the corresponding decisions or actions.
How many combinations do three binary conditions produce?
Eight unrestricted combinations, before applying any feasibility constraints.
What does Any mean?
The condition value does not affect the particular rule’s modeled result.
Is unknown the same as false?
They may have different meanings and responses; define them explicitly.
What is a conflicting rule?
Two applicable rules producing incompatible results without an established resolution.
What is a missing rule?
A relevant condition combination without a defined applicable result.
How do you simplify a table?
Group combinations only when they produce the same defined result and preserve requirements.
Can a decision table generate test cases?
Feasible condition combinations can provide test conditions and expected results.
Is a decision table a weighted decision matrix?
A rule table specifies actions for conditions; a weighted matrix scores alternatives.
When should a table be reviewed?
When the applicable rules, evidence definitions, process or implementation changes.
