June 2017
Intermediate to advanced
688 pages
16h 8m
English
Basis path testing is a white-box technique that identifies test cases on the basis of flows or logical paths that can be taken through a program. A basis path is a unique path through the program where no iterations are allowed. Basis paths are atomic-level paths, and all possible paths through the system are linear combinations of them. Basis path testing also produces a cyclomatic metric, which measures the complexity of a source code module by examining the control structures.
Consider the following small program, which reads records from a file and tallies the numerical ranges of a field on each record to illustrate the technique.
Node Statement1. Dowhile ...
Read now
Unlock full access