Software Engineering - Black Box Testing vs White Box Testing
In general, it is somewhat impractical, to find all the errors in a program. To combat the challenges associated with testing economics, we need to adopt some testing strategies. Two of the most commonly used test strategies are black-box testing and white-box testing.
Black box testing is the Software testing method which is used to test the software without knowing the internal structure of code or program.In this approach, test data are derived solely from the specifications (i.e., without taking advantage of knowledge of the internal structure of the program). White box testing is the software testing method in which internal structure is being known to tester who is going to test the software.This strategy derives test data from an examination of the program’s logic.
Here is a PDF listing important differences between the two test strategies: