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 条
  • [1] Empirical Study of the Effects of Different Similarity Measures on Test Case Prioritization
    Wang, Rongcun
    Jiang, Shujuan
    Chen, Deng
    Zhang, Yanmei
    MATHEMATICAL PROBLEMS IN ENGINEERING, 2016, 2016
  • [2] An Empirical Examination of Abstract Test Case Prioritization Techniques
    Huang, Rubing
    Zong, Weiwen
    Towey, Dave
    Zhou, Yunan
    Chen, Jinfu
    PROCEEDINGS OF THE 2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING COMPANION (ICSE-C 2017), 2017, : 141 - 143
  • [3] Test Case Prioritization Techniques "An Empirical Study"
    Sharma, Neha
    Sujata
    Purohit, G. N.
    2014 INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND APPLICATIONS (ICHPCA), 2014,
  • [4] Test case prioritization: A family of empirical studies
    Elbaum, S
    Malishevsky, AG
    Rothermel, G
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2002, 28 (02) : 159 - 182
  • [5] Similarity-based prioritization of test case automation
    Daniel Flemström
    Pasqualina Potena
    Daniel Sundmark
    Wasif Afzal
    Markus Bohlin
    Software Quality Journal, 2018, 26 : 1421 - 1449
  • [6] Similarity-based prioritization of test case automation
    Flemstrom, Daniel
    Potena, Pasqualina
    Sundmark, Daniel
    Afzal, Wasif
    Bohlin, Markus
    SOFTWARE QUALITY JOURNAL, 2018, 26 (04) : 1421 - 1449
  • [7] A Large-Scale Empirical Comparison of Static and Dynamic Test Case Prioritization Techniques
    Luo, Qi
    Moran, Kevin
    Poshyvanyk, Denys
    FSE'16: PROCEEDINGS OF THE 2016 24TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2016, : 559 - 570
  • [8] Test Case Prioritization with Textual Comparison Metrics
    Tumeng, Rooster
    Jawawi, Dayang Norhayati Abang
    Isa, Mohd Adham
    2015 9TH MALAYSIAN SOFTWARE ENGINEERING CONFERENCE (MYSEC2015), 2015, : 7 - 12
  • [9] SIMILARITY DISTANCE MEASURE AND PRIORITIZATION ALGORITHM FOR TEST CASE PRIORITIZATION IN SOFTWARE PRODUCT LINE TESTING
    Abd Halim, Shahliza
    Jawawi, Dayang Norhayati Abang
    Sahak, Muhammad
    JOURNAL OF INFORMATION AND COMMUNICATION TECHNOLOGY-MALAYSIA, 2019, 18 (01): : 57 - 75
  • [10] An Empirical Study on the Use of Defect Prediction for Test Case Prioritization
    Paterson, David
    Campos, Jose
    Abreu, Rui
    Kapfhammer, Gregory M.
    Fraser, Gordon
    McMinn, Phil
    2019 IEEE 12TH CONFERENCE ON SOFTWARE TESTING, VALIDATION AND VERIFICATION (ICST 2019), 2019, : 346 - 357