Constraints for safe partition testing strategies

被引:5
作者
Chen, TY
Yu, YT
机构
[1] Department of Computer Science, University of Melbourne
关键词
D O I
10.1093/comjnl/39.7.619
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Although previous studies have shown that partition testing strategies are not always very effective, with appropriate restrictions on the test allocation they can be guaranteed to be safe, in the sense that they will never be less reliable in detecting at least one failure than random testing, Several sufficient conditions for this have already been established in the literature. In particular, the proportional sampling strategy, which allocates test cases in proportion to the size of the subdomains from which they are selected, has been proved to be safe for all programs. In practice, since the number of test cases must be positive integers, often the proportional sampling strategy can only be approximated. This paper examines the necessary conditions for safe partition testing strategies. We also prove that, when the input domain is large enough with respect to the numbers of failure-causing inputs and test cases, a safe partition testing strategy cannot deviate from the proportional sampling strategy other than rounding due to integral constraints.
引用
收藏
页码:619 / 625
页数:7
相关论文
共 15 条
[1]   Proportional sampling strategy: Guidelines for software testing practitioners [J].
Chan, FT ;
Chen, TY ;
Mak, IK ;
Yu, YT .
INFORMATION AND SOFTWARE TECHNOLOGY, 1996, 38 (12) :775-782
[2]   On the expected number of failures detected by subdomain testing and random testing [J].
Chen, TY ;
Yu, YT .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1996, 22 (02) :109-119
[3]   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
[4]   ON THE RELATIONSHIP BETWEEN PARTITION AND RANDOM TESTING [J].
CHEN, TY ;
YU, YT .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1994, 20 (12) :977-980
[5]   A CLOSE LOOK AT DOMAIN TESTING [J].
CLARKE, LA ;
HASSELL, J ;
RICHARDSON, DJ .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1982, 8 (04) :380-390
[6]   AN EVALUATION OF RANDOM TESTING [J].
DURAN, JW ;
NTAFOS, SC .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1984, 10 (04) :438-444
[7]   OPTIMAL TEST DISTRIBUTIONS FOR SOFTWARE FAILURE COST ESTIMATION [J].
GUTJAHR, WJ .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1995, 21 (03) :219-228
[8]   PARTITION TESTING DOES NOT INSPIRE CONFIDENCE [J].
HAMLET, D ;
TAYLOR, R .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1990, 16 (12) :1402-1411
[9]   FUNCTIONAL PROGRAM TESTING [J].
HOWDEN, WE .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1980, 6 (02) :162-169
[10]  
HOWDEN WE, 1985, IEEE SOFTWARE SEP, P6