16 Structure-Based Testing Techniques

Testing the structure of code is a valuable (and sometimes mandatory) addition to other testing techniques, which are based on specifications, requirements, and experience. We simply cannot demonstrate that the code that has been written by a programmer has really been tested unless structural techniques are applied. Technical test analysts must be skilled at using the various structural testing techniques to increase the effectiveness of testing and provide evidence that code has been covered by those tests.

This chapter first considers the principal benefits, possible drawbacks, and areas where structural-based testing techniques can be applied. An explanation of each technique is then provided with examples. ...

Get The Software Test Engineer's Handbook, 2nd Edition, 2nd 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.