WHITE BOX TESTING (also known as Clear Box Testing, Open Box Testing, Glass Box Testing, Transparent Box Testing, Code-Based Testing, or Structural Testing) is a software testing method in which the internal structure/ design/ implementation of the item being tested is known to the tester.
Applicability Levels of white box testing
The White Box Testing method is applicable to the following levels of software testing:
-
Unit Testing: For testing paths within a unit.
-
Integration Testing: For testing paths between units.
-
System Testing: For testing paths between subsystems.
However, it is mainly applied to Unit Testing.
Advantages
-
Testing can be commenced at an earlier stage. One need not wait for the GUI to be available.
-
Testing is more thorough, with the possibility of covering most paths.