Which of the following is the odd one out?
-
White box
-
Glass box
-
Structural
-
Functional
White box, glass box, and structural testing all refer to the same approach: testing based on knowledge of internal code structure. Functional testing (D) is black-box testing: it tests based on requirements and external behavior without examining the code, making it the odd one out.
White box, Glass box, and Structural testing are all synonyms for the same testing approach — testing based on knowledge of the internal code structure (paths, branches, statements) rather than just external behavior. Functional testing is fundamentally different: it's a black-box approach that verifies the system's behavior against specified requirements/functions without regard to internal implementation. Since three of the four terms describe the identical concept, Functional is the odd one out.