1. Program Testing Complexity and Test Criteria.
- Author
-
Kuo-Chung Tai
- Subjects
- *
COMPUTER software testing , *SOFTWARE engineering , *COMPUTER programming , *COMPUTER software , *TESTING - Abstract
This paper explores the testing complexity of several classes of programs, where the testing complexity is measured in terms of the number of test data required for demonstrating program correctness by testing. It is shown that even for very restrictive classes of programs, none of the commonly used test criteria, namely, having every statement, branch, and path executed at least once, is nearly sufficient to guarantee absence of errors. Based on the study of testing complexity, this paper proposes two new test criteria, one for testing a path and the other for testing a program. These new criteria suggest how to select test data to obtain confidence in program correctness beyond the requirement of having each statement, branch, or path tested at least once. [ABSTRACT FROM AUTHOR]
- Published
- 1980