An evaluation of combination strategies for test case selection

被引:64
作者
Grindall, Mats [1 ]
Lindstroem, Birgitta
Offutt, Jeff
Andler, Sten F.
机构
[1] Univ Skovde, Sch Humanities & Informat, Skovde, Sweden
[2] George Mason Univ, Dept Informat & Software Engn, Fairfax, VA 22030 USA
关键词
combination strategies; orthogonal arrays; AETG; test case selection; testing experiment;
D O I
10.1007/s10664-006-9024-2
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper presents results from a comparative evaluation of five combination strategies. Combination strategies are test case selection methods that combine "interesting" values of the input parameters of a test subject to form test cases. This research comparatively evaluated five combination strategies; the All Combination strategy (AC), the Each Choice strategy (EC), the Base Choice strategy (BC), Orthogonal Arrays (OA) and the algorithm from the Automatic Efficient Test Generator (AETG). AC satisfies n-wise coverage, EC and BC satisfy 1-wise coverage, and OA and AETG satisfy pair-wise coverage. The All Combinations strategy was used as a "gold standard" strategy; it subsumes the others but is usually too expensive for practical use. The others were used in an experiment that used five programs seeded with 128 faults. The combination strategies were evaluated with respect to the number of test cases, the number of faults found, failure size, and number of decisions covered. The strategy that requires the least number of tests, Each Choice, found the smallest number of faults. Although the Base Choice strategy requires fewer test cases than Orthogonal Arrays and AETG, it found as many faults. Analysis also shows some properties of the combination strategies that appear significant. The two most important results are that the Each Choice strategy is unpredictable in terms of which faults will be revealed, possibly indicating that faults are found by chance, and that the Base Choice and the pair-wise combination strategies to some extent target different types of faults.
引用
收藏
页码:583 / 611
页数:29
相关论文
共 47 条
[1]  
AMMANN P, 1994, COMPASS '94 - PROCEEDINGS OF THE NINTH ANNUAL CONFERENCE ON COMPUTER ASSURANCE, P69, DOI 10.1109/CMPASS.1994.318466
[2]  
ANDERSON T, 1994, 104 IFIP WG
[3]  
[Anonymous], P INT A ERSH MEM C P
[4]  
Archibald R. D., 1992, MANAGING HIGH TECHNO
[5]  
BACHE R, 1997, J SOFTWARE TESTING V, V7, P139
[6]   COMPARING THE EFFECTIVENESS OF SOFTWARE TESTING STRATEGIES [J].
BASILI, VR ;
SELBY, RW .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1987, 13 (12) :1278-1296
[7]   THE TAME PROJECT - TOWARDS IMPROVEMENT-ORIENTED SOFTWARE ENVIRONMENTS [J].
BASILI, VR ;
ROMBACH, HD .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1988, 14 (06) :758-773
[8]  
Briand L. C., 1999, Proceedings IEEE International Conference on Software Maintenance - 1999 (ICSM'99). `Software Maintenance for Business Change' (Cat. No.99CB36360), P475, DOI 10.1109/ICSM.1999.792645
[9]   ROBUST TESTING OF AT-AND-T PMX STARMAIL USING OATS [J].
BROWNLIE, R ;
PROWSE, J ;
PHADKE, MS .
AT&T TECHNICAL JOURNAL, 1992, 71 (03) :41-47
[10]  
BURR K, 1998, P INT C SOFTW TEST A, P26