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 条
  • [21] An Empirical Study on Clustering Approach Combining Fault Prediction for Test Case Prioritization
    Xiao, Lei
    Miao, Huaikou
    Zhuang, Weiwei
    Chen, Shaojun
    2017 16TH IEEE/ACIS INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION SCIENCE (ICIS 2017), 2017, : 815 - 820
  • [22] A similarity-based approach for test case prioritization using historical failure data
    Bin Noor, Tanzeem
    Hemmati, Hadi
    2015 IEEE 26TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE), 2015, : 58 - 68
  • [23] Similarity-based test case prioritization using ordered sequences of program entities
    Chunrong Fang
    Zhenyu Chen
    Kun Wu
    Zhihong Zhao
    Software Quality Journal, 2014, 22 : 335 - 361
  • [24] Similarity-based test case prioritization using ordered sequences of program entities
    Fang, Chunrong
    Chen, Zhenyu
    Wu, Kun
    Zhao, Zhihong
    SOFTWARE QUALITY JOURNAL, 2014, 22 (02) : 335 - 361
  • [25] Similarity Measures for Visual Comparison and Retrieval of Test Data in Aluminum Production
    Jekic, Nikolina
    Mutlu, Belgin
    Schreyer, Manuela
    Neubert, Steffen
    Schreck, Tobias
    IVAPP: PROCEEDINGS OF THE 16TH INTERNATIONAL JOINT CONFERENCE ON COMPUTER VISION, IMAGING AND COMPUTER GRAPHICS THEORY AND APPLICATIONS - VOL. 3: IVAPP, 2021, : 210 - 218
  • [26] Prioritization of test cases in MUMCUT test sets: An empirical study
    Yu, YT
    Lau, MF
    RELIABLE SOFTWARE TECHNOLOGIES - ADA-EUROPE 2002, 2002, 2361 : 245 - 256
  • [27] Comparison of measures for haplotype similarity
    Vivien Marquard
    Lars Beckmann
    Justo L Bermejo
    Christine Fischer
    Jenny Chang-Claude
    BMC Proceedings, 1 (Suppl 1)
  • [28] Building Ant System for Multi-Faceted Test Case Prioritization: An Empirical Study
    Pachariya, Manoj Kumar
    INTERNATIONAL JOURNAL OF SOFTWARE INNOVATION, 2020, 8 (02) : 23 - 37
  • [29] Poster : Impact of Static and Dynamic Coverage on Test-Case Prioritization: An Empirical Study
    Zhou, Jianyi
    Hao, Dan
    10TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS - ICSTW 2017, 2017, : 392 - 394
  • [30] Test Case Prioritization Using Test Similarities
    Haghighatkhah, Alireza
    Mantyla, Mika
    Oivo, Markku
    Kuvaja, Pasi
    PRODUCT-FOCUSED SOFTWARE PROCESS IMPROVEMENT, PROFES 2018, 2018, 11271 : 243 - 259