Q: When is the best time to conduct white-box testing?
-
A
During the integration test phase
-
B
During the analysis phase
-
C
During the design phase
-
D
During the unit test phase
D
Answer:
D
Explanation:
The best time to conduct white-box testing is during the unit test phase. White-box testing involves testing the internal logic, structure, and code of an application. During unit testing, individual units or components of the software are tested in isolation, making it the most appropriate phase for white-box testing. It requires access to the source code, allowing testers to evaluate the internal workings and logic of the application, such as code paths, conditionals, and loops. While it can be applied at other stages, the unit test phase is the most effective for identifying coding errors and ensuring that individual components are functioning as expected.
Related Topic:
Share Above MCQ