From the course: ISTQB Foundation Cert Prep

Unlock the full course today

Join today to access over 23,200 courses taught by industry experts.

White-box techniques

White-box techniques

- [Instructor] White box testing is based on the internal structure of the test object. White box test techniques can be used at all test levels, but the two code related techniques discussed in this section are most commonly used at the component test level. Statement testing exercises, the potential executable statements in the code. Coverage is normally measured by the number of statements executed by the tests divided by the total number of executable statements in the test object. This is normally expressed as a percentage. In decision testing, decision tests, exercise the decisions in the code and tests the code that is executed based on the decision outcomes. To do this, the test cases follow the control flows that occur from a decision points. For example, an if statement and coverage is measured as the number of decision outcomes executed by the tests divided by the total number of decision outcomes in the…

Contents