Tech moves fast! Stay ahead of the curve with Techopedia!
Join nearly 200,000 subscribers who receive actionable tech insights from Techopedia.
White-box testing is a methodology used to ensure and validate the internal framework, mechanisms, objects and components of a software application. White-box testing verifies code according to design specifications and uncovers application vulnerabilities.
White-box testing is also known as transparent box testing, clear box testing, structural testing and glass box testing. Glass box and clear box indicate that internal mechanisms are visible to a software engineering team.
During white-box testing, code is run with preselected input values for the validation of preselected output values. White-box testing often involves writing software code stubs and drivers.
White-box testing advantages include:
White-box testing complements unit testing, integration testing and regression testing.