Reliability of the Path Analysis Testing Strategy

William E. Howden

IEEE Transactions on Software Engineering · 1976 · 401 citations · 16 references

Concepts

TL;DR

A reliable test set reveals errors in an incorrect program, and a testing strategy is reliable if it produces such a set; however, no effective strategy can be reliable for all programs. The paper presents the path analysis testing strategy and introduces a method to analyze its reliability. The strategy generates data that exercise distinct program paths, and the introduced method characterizes program classes and errors for which the strategy is reliable. The method identifies program classes and error types where path analysis is reliable, and the paper provides examples of published incorrect programs.

Abstract

A set of test data T for a program P is reliable if it reveals that P contains an error whenever P is incorrect. If a set of tests T is reliable and P produces the correct output for each element of T then P is a correct program. Test data generation strategies are procedures for generating sets of test data. A testing strategy is reliable for a program P if it produces a reliable set of test data for P. It is proved that an effective testing strategy which is reliable for all programs cannot be constructed. A description of the path analysis testing strategy is presented. In the path analysis strategy data are generated which cause different paths in a program to be executed. A method for analyzing the reliability of path testing is introduced. The method is used to characterize certain classes of programs and program errors for which the path analysis strategy is reliable. Examples of published incorrect programs are included.

References

16