Sobes.tech
Junior

What is a decision table in software testing?

sobes.tech AI

Answer from AI

Decision Table — a test design technique that helps determine test scenarios for functions with multiple combinations of input conditions and corresponding actions.

Table structure:

  • Conditions: A list of input parameters or conditions that influence the system's behavior.
  • Actions: A list of outcomes or actions that should occur in response to specific combinations of conditions.
  • Rules (Columns): Each column represents a unique combination of condition values and corresponding actions.

Advantages:

  • Helps identify missed and redundant test cases.
  • Ensures systematic coverage of all condition combinations.
  • Simplifies understanding of complex business logic.
  • Used for documenting requirements and test cases.

Application:

Used when there is complex logic with branching if-then-else or multiple dependent conditions. For example, when calculating discounts, validating forms, or determining access rights.