Mutation-based Test-Case Prioritization in Software Evolution

被引:0
|
作者
Lou, Yiling
Hao, Dan [1 ]
Zhang, Lu
机构
[1] Peking Univ, MoE, Key Lab High Confidence Software Technol, Beijing, Peoples R China
关键词
TEST-SUITE REDUCTION;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
During software evolution, to assure the software quality, test cases for an early version tend to be reused by its latter versions. As a large number of test cases may aggregate during software evolution, it becomes necessary to schedule the execution order of test cases so that the faults in the latter version may be detected as early as possible, which is test-case prioritization in software evolution. In this paper, we proposed a novel test-case prioritization approach for software evolution, which first uses mutation faults on the difference between the early version and the latter version to simulate real faults occurred in software evolution, and then schedules the execution order of test cases based on their fault-detection capability, which is defined based on mutation faults. In particular, we present two models on calculating fault-detection capability, which are statistics-based model and probability-based model. Moreover, we conducted an experimental study and found that our approach with the statistics-based model outperforms our approach with the probability-based model and the total statement coverage-based approach, and slightly outperforms the additional statement-coverage based approach in many cases. Furthermore, compared with the total or additional statement coverage-based approach, our approach with either the statistics-based model or the probability-based model tends to be stably effective when the difference on the source code between the early version and the latter version is non-trivial.
引用
收藏
页码:46 / 57
页数:12
相关论文
共 50 条
  • [1] 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
  • [2] Empirical evaluation of mutation-based test case prioritization techniques
    Shin, Donghwan
    Yoo, Shin
    Papadakis, Mike
    Bae, Doo-Hwan
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2019, 29 (1-2):
  • [3] To Be Optimal or Not in Test-Case Prioritization
    Hao, Dan
    Zhang, Lu
    Zang, Lei
    Wang, Yanbo
    Wu, Xingxia
    Xie, Tao
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2016, 42 (05) : 490 - 504
  • [4] A Survey on Regression Test-Case Prioritization
    Lou, Yiling
    Chen, Junjie
    Zhang, Lingming
    Hao, Dan
    [J]. ADVANCES IN COMPUTERS, VOL 113, 2019, 113 : 1 - 46
  • [5] Test-case prioritization:achievements and challenges
    Dan HAO
    Lu ZHANG
    Hong MEI
    [J]. Frontiers of Computer Science., 2016, 10 (05) - 777
  • [6] Test-case prioritization: achievements and challenges
    Hao, Dan
    Zhang, Lu
    Mei, Hong
    [J]. FRONTIERS OF COMPUTER SCIENCE, 2016, 10 (05) : 769 - 777
  • [7] Test-case prioritization: achievements and challenges
    Dan Hao
    Lu Zhang
    Hong Mei
    [J]. Frontiers of Computer Science, 2016, 10 : 769 - 777
  • [8] Test-Case Prioritization for Configuration Testing
    Cheng, Runxiang
    Zhang, Lingming
    Marinov, Darko
    Xu, Tianyin
    [J]. ISSTA '21: PROCEEDINGS OF THE 30TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, 2021, : 452 - 465
  • [9] 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)
  • [10] Mutation-Based Generation of Software Product Line Test Configurations
    Henard, Christopher
    Papadakis, Mike
    Le Traon, Yves
    [J]. SEARCH-BASED SOFTWARE ENGINEERING, 2014, 8636 : 92 - 106