Empirical evaluation of mutation-based test case prioritization techniques

被引:26
|
作者
Shin, Donghwan [1 ]
Yoo, Shin [1 ]
Papadakis, Mike [2 ]
Bae, Doo-Hwan [1 ]
机构
[1] Korea Adv Inst Sci & Technol, 291 Daehak Ro, Daejeon, South Korea
[2] Univ Luxembourg, Interdisciplinary Ctr Secur Reliabil & Trust SnT, Luxembourg, Luxembourg
来源
基金
新加坡国家研究基金会;
关键词
mutation testing; test case prioritization; regression testing;
D O I
10.1002/stvr.1695
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In this paper, we propose a new test case prioritization technique that combines both mutation-based and diversity-aware approaches. The diversity-aware mutation-based technique relies on the notion of mutant distinguishment, which aims to distinguish one mutant's behaviour from another, rather than from the original program. The relative cost and effectiveness of the mutation-based prioritization techniques (i.e., using both the traditional mutant kill and the proposed mutant distinguishment) are empirically investigated with 352 real faults and 553,477 developer-written test cases. The empirical evaluation considers both the traditional and the diversity-aware mutation criteria in various settings: single-objective greedy, hybrid, and multi-objective optimization. The results show that there is no single dominant technique across all the studied faults. To this end, the reason why each one of the mutation-based prioritization criteria performs poorly is discussed, using a graphical model called Mutant Distinguishment Graph that demonstrates the distribution of the fault-detecting test cases with respect to mutant kills and distinguishment. (c) 2018 John Wiley & Sons, Ltd.
引用
收藏
页数:23
相关论文
共 50 条
  • [1] Mutation-based Test-Case Prioritization in Software Evolution
    Lou, Yiling
    Hao, Dan
    Zhang, Lu
    [J]. 2015 IEEE 26TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE), 2015, : 46 - 57
  • [2] On the use of mutation faults in empirical assessments of test case prioritization techniques
    Do, Hyunsook
    Rothermel, Gregg
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2006, 32 (09) : 733 - 752
  • [3] Test Case Prioritization Techniques "An Empirical Study"
    Sharma, Neha
    Sujata
    Purohit, G. N.
    [J]. 2014 INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND APPLICATIONS (ICHPCA), 2014,
  • [4] GraphPrior: Mutation-based Test Input Prioritization for Graph Neural Networks
    Dang, Xueqi
    Li, Yinghua
    Papadakis, Mike
    Klein, Jacques
    Bissyande, Tegawende F.
    Le Traon, Yves
    [J]. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2024, 33 (01)
  • [5] Automated Mutation-based Test Case Evaluation for Semantic Web Services
    Jokhio, M. Shaban
    Dobbie, Gillian
    Hu, Tianming
    Sun, Jing
    [J]. 2014 23RD AUSTRALASIAN SOFTWARE ENGINEERING CONFERENCE (ASWEC), 2013, : 210 - 219
  • [6] An Empirical Examination of Abstract Test Case Prioritization Techniques
    Huang, Rubing
    Zong, Weiwen
    Towey, Dave
    Zhou, Yunan
    Chen, Jinfu
    [J]. PROCEEDINGS OF THE 2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING COMPANION (ICSE-C 2017), 2017, : 141 - 143
  • [7] Test Case Generation for Mutation-based Testing of Timeliness
    Nilsson, Robert
    Offutt, Jeff
    Mellin, Jonas
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 164 (04) : 97 - 114
  • [8] Mutation-Based Test Case Generation for Simulink Models
    Brillout, Angelo
    He, Nannan
    Mazzucchi, Michele
    Kroening, Daniel
    Purandare, Mitra
    Ruemmer, Philipp
    Weissenbacher, Georg
    [J]. FORMAL METHODS FOR COMPONENTS AND OBJECTS, 2010, 6286 : 208 - +
  • [9] Mutation-Based Test-Case Generation with Ecdar
    Larsen, Kim G.
    Lorber, Florian
    Nielsen, Brian
    Nyman, Ulrik M.
    [J]. 10TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS - ICSTW 2017, 2017, : 319 - 328
  • [10] Performance Evaluation of Clustering Techniques in Test Case Prioritization
    Chaudhary, Sarika
    Jatain, Aman
    [J]. 2020 INTERNATIONAL CONFERENCE ON COMPUTATIONAL PERFORMANCE EVALUATION (COMPE-2020), 2020, : 699 - 703