Foundation Level study guide

Decision Table Testing

Decision Table Testing is a black-box technique used to model complex business logic where the system's output depends on specific combinations of multiple input conditions. It prevents testers from missing obscure combinations.

Practical example

A decision table lists Conditions (Inputs) at the top and Actions (Outputs) at the bottom. If there are 3 boolean conditions (Yes/No), the table will have 2^3 = 8 columns (Rules). To optimize testing, QA engineers can "collapse" rules where a specific condition does not affect the final outcome (indicated by a "Don't Care" symbol, usually a hyphen or dash).

Exam scenario and common trap

Scenario: A store offers free shipping if a customer is a VIP OR if they spend over $100. The Trap: Writing 4 test cases because there are 2 conditions (2^2). The Correct Answer: You can collapse the rules. If the user is a VIP (Condition 1 = True), the order total (Condition 2) becomes a "Don't Care" because shipping is already free. Collapsing reduces redundant test execution.

Related syllabus sections cover this topic. Reference sections: 4.2.3. See the official ISTQB syllabus for exam scope. Examples are independent; QA-ace is not affiliated with ISTQB.