Partition testing vs. random testing: The influence of uncertainty

被引:80
作者
Gutjahr, WJ [1 ]
机构
[1] Univ Vienna, Dept Stat Operat Res & Comp Sci, A-1010 Vienna, Austria
关键词
decisions under uncertainty; fault detection; partition testing; program testing; random testing; software testing;
D O I
10.1109/32.815325
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper compares partition testing and random testing on the assumption that program failure rates are not known with certainty before testing and are, therefore, modeled by random variables. It is shown that under uncertainty, partition testing compares more favorably to random testing than suggested by prior investigations concerning the deterministic case: The restriction to failure rates that are known with certainty systematically favors random testing. In particular, we generalize a result by Weyuker and Jeng stating equal fault detection probabilities for partition testing and random testing in the case where the failure rates in the subdomains defined by the partition are equal. It turns out that for independent random failure rates with equal expectation, the case above is a boundary case (the worst case for partition testing), and the fault detection probability of partition testing can be up to k times higher than that of random testing, where k is the number of subdomains. Also in a related model for dependent failure rates, partition testing turns out to be consistently better than random testing. The dominance can also be verified for the expected (weighted) number of detected faults as an alternative comparison criterion.
引用
收藏
页码:661 / 674
页数:14
相关论文
共 27 条
[1]  
Beizer B., 2003, Software Testing Techniques
[2]   A more general sufficient condition for partition testing to be better than random testing [J].
Chen, TY ;
Yu, YT .
INFORMATION PROCESSING LETTERS, 1996, 57 (03) :145-149
[3]   ON THE RELATIONSHIP BETWEEN PARTITION AND RANDOM TESTING [J].
CHEN, TY ;
YU, YT .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1994, 20 (12) :977-980
[4]  
Day J. D., 1985, SOFTFAIR II. A Second Conference on Software Development Tools, Techniques, and Alternatives (Cat. No.85CH2231-9), P126
[5]   AN EVALUATION OF RANDOM TESTING [J].
DURAN, JW ;
NTAFOS, SC .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1984, 10 (04) :438-444
[6]   A THEORETICAL BASIS FOR THE ANALYSIS OF MULTIVERSION SOFTWARE SUBJECT TO COINCIDENT ERRORS [J].
ECKHARDT, DE ;
LEE, LD .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1985, 11 (12) :1511-1517
[7]  
EHRENBERGER WD, 1992, P SAFECOMP 92, P299
[8]   A FORMAL ANALYSIS OF THE FAULT-DETECTING ABILITY OF TESTING METHODS [J].
FRANKL, PG ;
WEYUKER, EJ .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1993, 19 (03) :202-213
[9]   PROVABLE IMPROVEMENTS ON BRANCH TESTING [J].
FRANKL, PG ;
WEYUKER, EJ .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1993, 19 (10) :962-975
[10]   A MATHEMATICAL FRAMEWORK FOR THE INVESTIGATION OF TESTING [J].
GOURLAY, JS .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1983, 9 (06) :686-709