Decision tables are used to study the interaction between combinations of conditions. They provide a clear method for testing all relevant combinations to guarantee that the product processes all possible conditions, relationships, and constraints. Decision tables are an effective software testing method used to analyze how a system responds to various input data.
Decision table
Decision table testing is one of the black box test design techniques that is part of dynamic analysis. It is also known as a cause-and-effect table. And the schematic demonstration of the logic is known as a cause-and-effect graph. This visual representation is used to generate a decision table.
Other methods of investigation, for example, equivalence testing or limit value analysis, often apply only to specific inputs. The decision table technique is used in the case where a combination of inputs is applied to different outputs. The main goal is to check the business logic and test coverage.
The decision table, as a rule, has 4 components:
- Conditions – the list of possible conditions.
- Action options are a combination of a list of fulfilled or unfulfilled conditions.
- Actions – a list of all possible actions.
- Action requirement – indicates whether or not the corresponding action is required for each of the condition combinations.