5.2White-Box Test Techniques

Structure-based testing

White-box test techniques are based on the test object’s internal structure, and are often referred to as structural or structure-based tests. Another term for this technique is code-related testing. This type of test relies on the availability of the source code and the ability to manipulate and adapt it if necessary. White-box test techniques can be used on all test levels, but the techniques described below are aimed squarely at the component testing level.

Other techniques

Alongside the techniques included in the ISTQB® syllabus (statement and decision testing) there are many other techniques that aim to achieve a greater degree of code coverage and therefore increased testing thoroughness ...

Get Software Testing Foundations, 5th Edition, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.