O'Reilly logo

Just Enough Software Test Automation by Bruce A. Posey, Daniel J. Mosley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required