ISTQB 연습문제 풀이 - Exam B : Q#19


1. Introduction

This question examines your understanding of the difference between decision table testing (a black-box technique) and branch testing (a white-box technique).

Note (EN/KR):
Decision table testing focuses on business rules, while branch testing focuses on code structure and control flow.
결정 테이블 테스트는 비즈니스 규칙 기반(블랙박스)이며, 분기 테스트는 코드 흐름 기반(화이트박스)입니다.

2. Key Concepts

  • Decision Table Testing – A black-box technique where test cases are derived from combinations of business rules.
    결정 테이블 테스트: 비즈니스 규칙 조합을 기반으로 테스트 케이스를 도출하는 블랙박스 기법입니다.
  • Branch Testing – A white-box technique ensuring each possible branch (true/false decision) in the code is executed at least once.
    분기 테스트: 코드의 모든 분기(True/False)를 최소 한 번씩 실행하는 화이트박스 기법입니다.
  • Main Difference: Decision table = from requirements/business logic Branch testing = from code structure

3. Practice Question

❓ Question

Which statement BEST describes the difference between decision table testing and branch testing?

  • a) Decision table tests come from code decisions; branch testing comes from control flow knowledge.
  • b) Decision table tests come from business logic; branch tests from anticipating defects in source code.
  • c) Decision table tests come from control flow; branch tests come from business logic.
  • d) Decision table tests are independent of implementation; branch tests depend on design/implementation.

✅ Correct Answer: d)

📘 Explanation (EN/KR)

  • a) Not correct. Decision table testing is black-box, not derived from code.
    결정 테이블 테스트는 코드 기반이 아닌 블랙박스 기법입니다.
  • b) Not correct. Anticipating defects is part of error guessing, not branch testing.
    오류 추정(error guessing)의 특징이지 분기 테스트의 특징이 아닙니다.
  • c) Not correct. Control flow → white-box; business logic → black-box. The option reverses both.
    제어 흐름 기반은 화이트박스이며, 비즈니스 규칙 기반은 블랙박스입니다. 보기 내용이 서로 반대입니다.
  • d) Correct. Decision table testing is independent of internal implementation (black-box).  Branch testing requires analyzing code structure (white-box) and cannot be designed until implementation exists.
    결정 테이블 테스트는 내부 구현과 독립된 블랙박스 기법이며, 분기 테스트는 코드 구조에 의존하기 때문에 설계/구현 이후에만 테스트 케이스를 만들 수 있습니다.

✔ Therefore, option (d) accurately describes the difference.
✔ 따라서 (d)가 두 기법의 차이를 가장 정확히 설명합니다.

📊 Summary Table

Technique Type Basis Dependent on Implementation?
Decision Table Testing Black-box Business rules, requirements No
아님
Branch Testing White-box Code structure, control flow Yes
맞음

4. Summary & Call to Action

Decision table testing focuses on business logic, while branch testing focuses on structural coverage. Distinguishing black-box vs white-box characteristics is essential for many ISTQB questions.

결정 테이블 테스트는 비즈니스 규칙, 분기 테스트는 코드 구조에 기반합니다. 블랙박스/화이트박스의 차이를 정확히 이해하면 ISTQB 문제를 훨씬 빠르게 풀 수 있습니다.


Related: More ISTQB Posts

다음 이전