White box testing is opposite to Black box it requires internal know how of how the logic flows. As this testing needs know how of the internal structure it can only be done programmers. Unit testing is one of the ways of doing White box testing in which programmers use NUNIT or JNUIT to test each class individually. White box testing can be done by programmer by either stepping through the code or testing the classes and components in isolation.
Asked In: Many Interviews |