Black box testing |
Gray box testing |
White box testing |
Black box testing does not need the implementation knowledge of a program. |
Gray box testing knows the limited knowledge of an internal program. |
In white box testing, implementation details of a program are fully required. |
It has a low granularity. |
It has a medium granularity. |
It has a high granularity. |
It is also known as opaque box testing, closed box testing, input-output testing, data-driven testing, behavioral testing and functional testing. |
It is also known as translucent testing. |
It is also known as glass box testing, clear box testing. |
It is a user acceptance testing, i.e., it is done by end users. |
It is also a user acceptance testing. |
Testers and programmers mainly do it. |
Test cases are made by the functional specifications as internal details are not known. |
Test cases are made by the internal details of a program. |
Test cases are made by the internal details of a program. |