Issue No.08 - August (1998 vol.24)
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/32.707695
<p><b>Abstract</b>—There are two main goals in testing software: 1) to achieve adequate quality (<it>debug testing</it>); the objective is to probe the software for defects so that these can be removed and 2) to assess existing quality (<it>operational testing</it>); the objective is to gain confidence that the software is reliable. The names are arbitrary, and most testing techniques address both goals to some degree. However, debug methods tend to ignore random selection of test data from an operational profile, while for operational methods this selection is all-important. Debug methods are thought, without any real proof, to be good at uncovering defects so that these can be repaired, but having done so they do not provide a technically defensible assessment of the reliability that results. On the other hand, operational methods provide accurate assessment, but may not be as useful for achieving reliability. This paper examines the relationship between the two testing goals, using a probabilistic analysis. We define simple models of programs and their testing, and try to answer theoretically the question of how to attain program reliability: Is it better to test by probing for defects as in debug testing, or to assess reliability directly as in operational testing, uncovering defects by accident, so to speak? There is no simple answer, of course. Testing methods are compared in a model where program failures are detected and the software changed to eliminate them. The "better" method delivers higher reliability after all test failures have been eliminated. This comparison extends previous work, where the measure was the probability of detecting a failure. Revealing special cases are exhibited in which each kind of testing is superior. Preliminary analysis of the distribution of the delivered reliability indicates that even simple models have unusual statistical properties, suggesting caution in interpreting theoretical comparisons.</p>
Reliability, debugging, software testing, statistical testing theory.
Phyllis G. Frankl, Richard G. Hamlet, Bev Littlewood, Lorenzo Strigini, "Evaluating Testing Methods by Delivered Reliability", IEEE Transactions on Software Engineering, vol.24, no. 8, pp. 586-601, August 1998, doi:10.1109/32.707695