An Empirical Comparison of Similarity Measures for Abstract Test Case Prioritization

被引:14
|
作者
Huang, Rubing [1 ]
Zhou, Yunan [1 ]
Zong, Weiwen [1 ]
Towey, Dave [2 ]
Chen, Jinfu [1 ]
机构
[1] Jiangsu Univ, Sch Comp Sci & Commun Engn, Zhenjiang 212013, Peoples R China
[2] Univ Nottingham Ningbo China, Sch Comp Sci, Ningbo 315100, Zhejiang, Peoples R China
基金
中国国家自然科学基金;
关键词
Software testing; test case prioritization; abstract test case; similarity; COVERAGE;
D O I
10.1109/COMPSAC.2017.271
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Test case prioritization (TCP) attempts to order test cases such that those which are more important, according to some criterion or measurement, are executed earlier. TCP has been applied in many testing situations, including, for example, regression testing. An abstract test case (also called a model input) is an important type of test case, and has been widely used in practice, such as in configurable systems and software product lines. Similarity-based test case prioritization (STCP) has been proven to be cost-effective for abstract test cases (ATCs), but because there are many similarity measures which could be used to evaluate ATCs and to support STCP, we face the following question: How can we choose the similarity measure(s) for prioritizing ATCs that will deliver the most effective results? To address this, we studied fourteen measures and two popular STCP algorithms - local STCP (LSTCP), and global STCP (GSTCP). We also conducted an empirical study of five real-world programs, and investigated the efficacy of each similarity measure, according to the interaction coverage rate and fault detection rate. The results of these studies show that GSTCP outperforms LSTCP - in 61% to 84% of the cases, in terms of interaction coverage rates; and in 76% to 78% of the cases with respect to fault detection rates. Our studies also show that Overlap, the simplest similarity measure examined in this study, could obtain the overall best performance for LSTCP; and that Goodall3 has the best performance for GSTCP.
引用
收藏
页码:3 / 12
页数:10
相关论文
共 50 条
  • [31] Piloting an empirical study on measures for workflow similarity
    Wombacher, Andreas
    Rozie, Maarten
    2006 IEEE INTERNATIONAL CONFERENCE ON SERVICES COMPUTING, PROCEEDINGS, 2006, : 94 - +
  • [32] THE COMPARABILITY OF MEASURES OF PROFILE SIMILARITY - AN EMPIRICAL STUDY
    MOSEL, JN
    ROBERTS, JB
    JOURNAL OF CONSULTING PSYCHOLOGY, 1954, 18 (01): : 61 - 66
  • [33] Abstract Test Case Prioritization Using Repeated Small-Strength Level-Combination Coverage
    Huang, Rubing
    Sun, Weifeng
    Chen, Tsong Yueh
    Towey, Dave
    Chen, Jinfu
    Zong, Weiwen
    Zhou, Yunan
    IEEE TRANSACTIONS ON RELIABILITY, 2020, 69 (01) : 349 - 372
  • [34] Empirical Evaluation of Test Effort Efficiency of Software GA-based Regression Test Case Prioritization Strategy
    Musa, Samaila
    Sultan, Abu Bakar Md
    Abd Ghani, Abdul Azim
    Baharom, Salmi
    PROCEEDINGS OF THE 3RD INTERNATIONAL CONFERENCE ON APPLIED SCIENCE AND TECHNOLOGY (ICAST'18), 2018, 2016
  • [35] Comparison of Similarity Measures for Trajectory Clustering- Aviation Use Case
    Todoric, Marija
    Mastelic, Toni
    JOURNAL OF COMMUNICATIONS SOFTWARE AND SYSTEMS, 2023, 19 (02) : 178 - 187
  • [36] Comparison analysis of two test case prioritization approaches with the core idea of adaptive
    Ding, Jian
    Zhang, Xiao-Yi
    2017 29TH CHINESE CONTROL AND DECISION CONFERENCE (CCDC), 2017, : 1723 - 1729
  • [37] Prioritising abstract test cases: an empirical study
    Huang, Rubing
    Zong, Weiwen
    Chen, Tsong Yueh
    Towey, Dave
    Zhou, Yunan
    Chen, Jinfu
    IET SOFTWARE, 2019, 13 (04) : 313 - 326
  • [38] An industrial investigation of similarity measures for model-based test case selection
    Simula Research Laboratory, Department of Informatics, University of Oslo, Norway
    Proc. Int. Symp. Softw. Reliab. Eng., (141-150):
  • [39] KS-TCP: An Efficient Test Case Prioritization Approach based on K-medoids and Similarity
    Chen, Jinfu
    Gu, Yuechao
    Cai, Saihua
    Chen, Haibo
    Chen, Jingyi
    2021 IEEE INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS (ISSREW 2021), 2021, : 105 - 110
  • [40] Test case prioritization for model transformations
    Iqbal, Saqib
    Al-Azzoni, Issam
    JOURNAL OF KING SAUD UNIVERSITY-COMPUTER AND INFORMATION SCIENCES, 2022, 34 (08) : 6324 - 6338