What is a White Box Testing?
White box testing deals with the internal logic and structure of the code. White
box testing is also called as glass, structural, open box or clear box testing.
The tests written based on the white box testing strategy incorporate coverage of
the code written, branches, paths, statements and internal logic of the code etc.
In order to implement white box testing, the tester has to deal with the code and
hence he is needed to possess knowledge of coding and logic i.e. internal working of
the code. White box testing also needs the tester to look into the code and find out
which unit / statement / chunk of the code is malfunctioning.
Advantages of White box testing are:
As the knowledge of internal coding structure is a prerequisite, it becomes very easy
to find out which type of input/data can help in testing the application effectively.
The other advantage of white box testing is that it helps in optimizing the code.
It helps in removing the extra lines of code, which can bring in hidden defects.
The Pulse testing team considers white box testing as the most important phase after
usability.