Exclusive use of white box testing in a test-phase will:

  1. Ensure the test item is adequately tested.

  2. Make the need for black-box testing redundant.

  3. Run the risk that the requirements are not satisfied.

  4. Suffices for the unit testing phase.


Correct Option: C

AI Explanation

To answer this question, we need to understand the differences between white box testing and black box testing.

White box testing is a testing technique that focuses on the internal structure and logic of the software being tested. Test cases are designed based on the knowledge of the internal workings of the code, such as control flow, data flow, and branches. White box testing is typically performed by developers or testers with knowledge of the code.

Black box testing, on the other hand, is a testing technique that focuses on the functionality and behavior of the software being tested. Test cases are designed based on the software's requirements and specifications, without any knowledge of the internal structure or code. Black box testing is typically performed by testers or end-users.

Now let's analyze each option:

Option A) Ensure the test item is adequately tested. This option is incorrect. While white box testing can provide insights into the internal structure and logic of the software, it does not guarantee that all aspects of the test item will be adequately tested. White box testing may overlook certain requirements or functionalities that are not directly related to the internal workings of the code.

Option B) Make the need for black-box testing redundant. This option is incorrect. White box testing and black box testing are complementary techniques. White box testing focuses on the internal structure, while black box testing focuses on the functionality. Both techniques are necessary to ensure thorough testing of the software.

Option C) Run the risk that the requirements are not satisfied. This option is correct. Exclusive use of white box testing can lead to a risk that the requirements of the software are not fully satisfied. Since white box testing is based on the internal structure and logic of the software, it may not uncover issues related to incorrect or missing functionality.

Option D) Suffices for the unit testing phase. This option is incorrect. While white box testing is commonly used in the unit testing phase, it is not the only technique used. Other testing techniques, such as black box testing and integration testing, are also important in the unit testing phase.

Therefore, the correct answer is C) Run the risk that the requirements are not satisfied. This option is correct because exclusive use of white box testing may overlook issues related to the software's requirements and functionalities.

Find more quizzes: