196k views
4 votes
If test cases are derived from looking at the code, what type of test design technique is being used?

A. Black-box
B. White-box
C. Specification-based
D. Behavior-based

User TrapII
by
8.2k points

1 Answer

3 votes

Final answer:

When test cases are derived by examining the code, the methodology is known as White-box testing, which focuses on the internal structure of the code.

Step-by-step explanation:

If test cases are derived from looking at the code, the type of test design technique being used is White-box testing. White-box testing, also known as clear box testing, structural testing, or code-based testing, involves looking into the structure and implementation of the code to ensure that internal operations are performed according to the specifications. This contrast with black-box testing, where the test cases are derived without looking at the details of the code's internal logic.

User Anthony Nandaa
by
8.5k points