What is Whitebox Testing?
Whitebox testing is the process of testing a software based on an analysis of the internal structure of the component or system, as opposed to blackbox testing. The tester chooses inputs to exercise paths through the code and determines the appropriate outputs. Programming know-how and the implementation knowledge is essential.
Levels of Whitebox testing
- Unit testing
- Integration testing
- System testing
Whitebox testing in security
SAST (Static Application Security Testing) is a form of whitebox security testing. SAST tools analyze source code directly, using knowledge of program structure to find vulnerabilities that blackbox testing would miss.
See also: Blackbox Testing, SAST, Static Analysis