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 条
  • [41] Adaptive Random Test Case Prioritization
    Jiang, Bo
    Zhang, Zhenyu
    Chan, W. K.
    Tse, T. H.
    2009 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2009, : 233 - 244
  • [42] On the Gain of Measuring Test Case Prioritization
    Lv, Junpeng
    Yin, Beibei
    Cai, Kai-Yuan
    2013 IEEE 37TH ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), 2013, : 627 - 632
  • [43] Test case prioritization and mutation testing
    Le Traon, Yves
    Xie, Tao
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2024, 34 (01):
  • [44] Learning to Rank for Test Case Prioritization
    Omri, Safa
    Sinz, Carsten
    15TH SEARCH-BASED SOFTWARE TESTING WORKSHOP (SBST 2022), 2022, : 16 - 24
  • [45] To Be Optimal or Not in Test-Case Prioritization
    Hao, Dan
    Zhang, Lu
    Zang, Lei
    Wang, Yanbo
    Wu, Xingxia
    Xie, Tao
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2016, 42 (05) : 490 - 504
  • [46] XCSF for Automatic Test Case Prioritization
    Rosenbauer, Lukas
    Stein, Anthony
    Paetzel, David
    Haehner, Joerg
    PROCEEDINGS OF THE 12TH INTERNATIONAL JOINT CONFERENCE ON COMPUTATIONAL INTELLIGENCE (IJCCI), 2020, : 49 - 58
  • [47] Reinforcement Learning for Test Case Prioritization
    Bagherzadeh, Mojtaba
    Kahani, Nafiseh
    Briand, Lionel
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2022, 48 (08) : 2836 - 2856
  • [48] A Unified Test Case Prioritization Approach
    Hao, Dan
    Zhang, Lingming
    Zhang, Lu
    Rothermel, Gregg
    Mei, Hong
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2014, 24 (02)
  • [49] Comparing measures of political similarity -: An empirical comparison of S versus τb in the study of international conflict
    Bennett, DS
    Rupert, MC
    JOURNAL OF CONFLICT RESOLUTION, 2003, 47 (03) : 367 - 393
  • [50] A Novel Approach for Test Case Prioritization
    Maheswari, R. Uma
    JeyaMala, D.
    2013 IEEE INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND COMPUTING RESEARCH (ICCIC), 2013, : 597 - 601