GRAY BOX TESTING is a software testing method which is a combination of Black Box Testing method and White Box Testing method. In Black Box Testing, the internal structure of the item being tested is unknown to the tester and in White Box Testing the internal structure is known. In Gray Box Testing, the internal structure is partially known.
Gray Box Testing involves having access to internal data structures and algorithms for purposes of designing the test cases, but testing at the user, or black-box level. Gray Box Testing is named so because the software program, in the eyes of the tester is like a gray/semi-transparent box; inside which one can partially see.
An example of Gray Box Testing would be when the codes for two units/modules are studied (White Box Testing method) for designing test cases and actual tests are conducted using the exposed interfaces (Black Box Testing method).
Though Gray Box Testing method may be used in other levels of testing, it is primarily used in Integration Testing.
Note that Gray is also spelled as Grey. Hence Grey Box Testing and Gray Box Testing mean the same.
(Icon used in the featured image was made by MD Badsha Meah from www.freeicons.io)
As the software industry moves away from Waterfall to Agile software development approach, you MUST also learn about AGILE TESTING.
Last Updated on September 17, 2020 by STF