On the maximin algorithms for test allocations in partition testing

被引:6
作者
Chen, TY
Yu, YT
机构
[1] City Univ Hong Kong, Dept Comp Sci, Kowloon, Hong Kong, Peoples R China
[2] Swinburne Univ Technol, Sch Informat Technol, Hawthorn, Vic 3122, Australia
关键词
partition testing; optimal test distribution; software testing; test allocation;
D O I
10.1016/S0950-5849(00)00141-5
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The proportional sampling (PS) strategy is a partition testing strategy that has been proved to have a better chance than random testing to detect at least one failure. A near proportional sampling (NPS) strategy is one that approximates the PS strategy when the latter is not feasible. We have earlier proved that the (basic) maximin algorithm generates a maximin test allocation, that is, an allocation of test cases that will maximally improve the lower bound performance of the partition testing strategy, and shown that the algorithm may serve as a systematic means of approximating the PS strategy. in this paper, we derive the uniqueness and completeness conditions of generating maximin test allocations, propose the complete maximin algorithm that generates all possible maximin test allocations and demonstrate empirically that the new algorithm is consistently better than random testing as well as several other NPS strategies. (C) 2001 Elsevier Science B.V. All rights reserved.
引用
收藏
页码:97 / 107
页数:11
相关论文
共 19 条
[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]  
Chen T. Y., 1997, IEE Proceedings-Software Engineering, V144, P271, DOI 10.1049/ip-sen:19971792
[3]   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
[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]   Constraints for safe partition testing strategies [J].
Chen, TY ;
Yu, YT .
COMPUTER JOURNAL, 1996, 39 (07) :619-625
[6]   On the test allocations for the best lower bound performance of partition testing [J].
Chen, TY ;
Yu, YT .
1998 AUSTRALIAN SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 1998, :160-167
[7]  
CHEN TY, 1996, LNCS, V1088, P147
[8]   AN EVALUATION OF RANDOM TESTING [J].
DURAN, JW ;
NTAFOS, SC .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1984, 10 (04) :438-444
[9]   PROVABLE IMPROVEMENTS ON BRANCH TESTING [J].
FRANKL, PG ;
WEYUKER, EJ .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1993, 19 (10) :962-975
[10]   PARTITION TESTING DOES NOT INSPIRE CONFIDENCE [J].
HAMLET, D ;
TAYLOR, R .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1990, 16 (12) :1402-1411