reason are given below, why is white box testing called as glass box testing
is visible inside a glass box. When you perform white box testing, you can see
the code and test it. But in black box testing the tester does not know what is
happening inside the code when he is giving a particular input. He only sees the
output, but does not get to know how that output
has come. In white box testing the tester can know what exactly is happening
inside the code and why a particular output is coming
for a particular input. That's why it is called Glass box testing.