volume_mute

Black-Box vs. White-Box Testing

publish date2026/06/17 05:49:38.327231 UTC

Complete each description with the correct testing approach: "When you use the system (1) to identify equivalence partitions, this is called (2) testing. You don't need any knowledge of how the system works. It is sometimes useful to supplement this with (3) testing, where you look at the (4) to find other possible tests."

Please drag and drop the selected option in the right place or type it instead
white-box
black-box
code
specification

Correct Answer

(1) specification
(2) black-box
(3) white-box
(4) code

Explanation

Black-box testing derives test cases from the system specification without knowledge of the internal implementation. White-box testing supplements this by examining the program code to find additional tests - for example, identifying exception-handling partitions by looking at how errors are handled in the code.

Reference

Software Engineering, Ian Sommerville, 10th edition


Quizzes you can take where this question appears