Evaluating Random Mutant Selection at Class-Level in Projects with Non-Adequate Test Suites

被引:5
|
作者
Parsai, Ali [1 ]
Murgia, Alessandro [1 ]
Demeyer, Serge [1 ]
机构
[1] Univ Antwerp, Middelheimlaan 1, B-2020 Antwerp, Belgium
关键词
MUTATION; COVERAGE;
D O I
10.1145/2915970.2915992
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Mutation testing is a standard technique to evaluate the quality of a test suite. Due to its computationally intensive nature, many approaches have been proposed to make this technique feasible in real case scenarios. Among these approaches, uniform random mutant selection has been demonstrated to be simple and promising. However, works on this area analyze mutant samples at project level mainly on projects with adequate test suites. In this paper, we fill this lack of empirical validation by analyzing random mutant selection at class level on projects with non-adequate test suites. First, we show that uniform random mutant selection underachieves the expected results. Then, we propose a new approach named weighted random mutant selection which generates more representative mutant samples. Finally, we show that representative mutant samples are larger for projects with high test adequacy.
引用
收藏
页数:10
相关论文
共 3 条
  • [1] Guidelines for Coverage-Based Comparisons of Non-Adequate Test Suites
    Gligoric, Milos
    Groce, Alex
    Zhang, Chaoqiang
    Sharma, Rohan
    Alipour, Mohammad Amin
    Marinov, Darko
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2015, 24 (04)
  • [2] Evaluating Non-adequate Test-Case Reduction
    Alipour, Mohammad Amin
    Shi, August
    Gopinath, Rahul
    Marinov, Darko
    Grocer, Alex
    2016 31ST IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2016, : 16 - 26
  • [3] An extensive study of class-level and method-level test case selection for continuous integration
    Li, Yingling
    Wang, Junjie
    Yang, Yun
    Wang, Qing
    JOURNAL OF SYSTEMS AND SOFTWARE, 2020, 167