Code-Based Approaches
Basis Testing Overview
Basis Testing is a White Box test case technique employing control flow graph representations of program module logic. Control flow graphs are network diagrams graphically depicting the logical pathways through a module. Test cases are created based on a set of independent paths enumerated from the graph. Thomas J. McCabe developed this method, formally known as Structured Testing and informally called basis testing. McCabe's approach will be discussed as a White Box test case development strategy and not as a testing methodology. For a comprehensive discussion of McCabe's methodology, see his original work (11,12).
The major advantage of McCabe's approach is that it incorporates the Cyclomatic Number ...
Get Just Enough Software Test Automation 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.