Adaptive Sequence Approach for OOS Test Case Prioritization

被引:9
作者
Chen, Jinfu [1 ]
Zhu, Lili [1 ]
Chen, Tsong Yueh [2 ]
Huang, Rubing [1 ]
Towey, Dave [3 ]
Kuo, Fei-Ching [2 ]
Guo, Yuchi [1 ]
机构
[1] Jiangsu Univ, Sch Comp Sci & Commun Engn, Zhenjiang 212013, Peoples R China
[2] Swinburne Univ Technol, Fac Sci Engn & Technol, Hawthorn, Vic 3122, Australia
[3] Univ Nottingham, Sch Comp Sci, Ningbo 315100, Zhejiang, Peoples R China
来源
2016 IEEE 27TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS (ISSREW) | 2016年
关键词
Object-oriented software; Adaptive random sequence; Test cases prioritization; Cluster analysis; Test cases selection;
D O I
10.1109/ISSREW.2016.29
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Test case prioritization (TCP) attempts to improve fault detection effectiveness by scheduling important test cases earlier, where important is determined by some criteria and strategy. Adaptive random sequences (ARSs) may be applied to improve the effectiveness of TCP in black-box testing. In this paper, to improve the effectiveness of TCP for object-oriented software, we present an ARS approach based on clustering techniques. In the proposed approach, test cases are clustered according to the number of objects and methods, using two clustering algorithms - K- means and K-medoids. Our proposed sampling strategy can construct ARSs within the clustering framework, constructing two ARS sequences based on the two clustering algorithms, which results in generated test cases with different execution sequences. We also report on experimental studies to verify the proposed approach, with the results showing that our approach can enhance the probability of earlier fault detection, and deliver higher effectiveness than random prioritization.
引用
收藏
页码:205 / 212
页数:8
相关论文
共 32 条
  • [11] A revisit of three studies related to random testing
    Chen, Tsong Yueh
    Kuo Fei-Ching
    Towey, Dave
    Zhou Zhi Quan
    [J]. SCIENCE CHINA-INFORMATION SCIENCES, 2015, 58 (05) : 1 - 9
  • [12] Code Coverage of Adaptive Random Testing
    Chen, Tsong Yueh
    Kuo, Fei-Ching
    Liu, Huai
    Wong, W. Eric
    [J]. IEEE TRANSACTIONS ON RELIABILITY, 2013, 62 (01) : 226 - 237
  • [13] An upper bound on software testing effectiveness
    Chen, Tsong Yueh
    Merkel, Robert
    [J]. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2008, 17 (03)
  • [14] Adaptive Random Testing: The ART of test case diversity
    Chen, Tsong Yueh
    Kuo, Fei-Ching
    Merkel, Robert G.
    Tse, T. H.
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2010, 83 (01) : 60 - 66
  • [15] Chen TY, 2004, LECT NOTES COMPUT SC, V3321, P320
  • [16] Ciupa I, 2008, ICSE'08 PROCEEDINGS OF THE THIRTIETH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, P71, DOI 10.1145/1368088.1368099
  • [17] Ciupa Ilinca., 2006, P 1 INT WORKSHOP RAN, P55
  • [18] Finding failures by cluster analysis of execution profiles
    Dickinson, W
    Leon, D
    Podgurski, A
    [J]. PROCEEDINGS OF THE 23RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 2001, : 339 - 348
  • [19] Test case prioritization: A family of empirical studies
    Elbaum, S
    Malishevsky, AG
    Rothermel, G
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2002, 28 (02) : 159 - 182
  • [20] Gnanapriya S., 2010, DATA MIN KNOWL DISC, V26, P32