Mutation Testing in Continuous Integration: An Exploratory Industrial Case Study

被引:0
作者
Orgard, Jonathan [1 ]
Gay, Gregory [1 ]
de Oliveira Neto, Francisco Gomes [1 ]
Viggedal, Kim [2 ]
机构
[1] Univ Gothenburg, Chalmers, Gothenburg, Sweden
[2] Zenseact, Gothenburg, Sweden
来源
2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS, ICSTW | 2023年
关键词
Mutation Testing; Continuous Integration; C plus;
D O I
10.1109/ICSTW58534.2023.00063
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Despite its potential quality benefits, the cost of mutation testing and the immaturity of mutation tools for many languages have led to a lack of adoption in industrial software development. In an exploratory case study at Zenseact a company in the automotive domain we have explored how mutation testing could be effectively applied in a typical Continuous Integration-based workflow. We evaluated the capabilities of C++ mutation tools, and demonstrate their use in GitHub Actions based CI workflows. Our investigation reveals that Dextool and Mull could be used in a CI workflow. Additionally, we conducted an interview study to understand how developers would use mutation testing in their CI workflows. Based on our qualitative analysis and practices proposed in literature, we discuss recommendations to integrate mutation testing in a CI workflow. For instance, visualising trends in the mutation score enable practitioners to understand how test quality is evolving. Moreover, tools should have a balance between offering fast feedback and keeping or flagging relevant mutants. Lastly, practitioners raised the need that the mutation should be applied at commit level, and that developers inexperienced with mutation testing should be trained in the implications of the practice.
引用
收藏
页码:324 / 333
页数:10
相关论文
共 29 条
  • [1] Automation and evaluation of mutation testing for the new C plus plus standards
    Angel Alvarez-Garcia, Miguel
    [J]. 2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2021), 2021, : 150 - 152
  • [2] What It Would Take to Use Mutation Testing in Industry-A Study at Facebook
    Beller, Moritz
    Wong, Chu-Pan
    Bader, Johannes
    Scott, Andrew
    Machalica, Mateusz
    Chandra, Satish
    Meijer, Erik
    [J]. 2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING IN PRACTICE (ICSE-SEIP 2021), 2021, : 268 - 277
  • [3] Brannstrom J, DEXTOOL MUTATE
  • [4] The Care and Feeding of Wild-Caught Mutants
    Brown, David Bingham
    Vaughn, Michael
    Liblit, Ben
    Reps, Thomas
    [J]. ESEC/FSE 2017: PROCEEDINGS OF THE 2017 11TH JOINT MEETING ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2017, : 511 - 522
  • [5] Budd T., 1980, THESIS YALE U
  • [6] Coles H., 2016, P 25 INT S SOFTWARE
  • [7] Assessment of C plus plus object-oriented mutation operators: A selective mutation approach
    Delgado-Perez, Pedro
    Segura, Sergio
    Medina-Bulo, Inmaculada
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2017, 27 (4-5)
  • [8] Assessment of class mutation operators for C plus plus with the MuCPP mutation system
    Delgado-Perez, Pedro
    Medina-Bulo, Inmaculada
    Palomo-Lozano, Francisco
    Garcia-Dominguez, Antonio
    Jose Dominguez-Jimenez, Juan
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2017, 81 : 169 - 184
  • [9] HINTS ON TEST DATA SELECTION - HELP FOR PRACTICING PROGRAMMER
    DEMILLO, RA
    LIPTON, RJ
    [J]. COMPUTER, 1978, 11 (04) : 34 - 41
  • [10] Denisov A., MULL