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
关键词
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
相关论文
共 50 条
  • [1] Extreme mutation testing in practice: An industrial case study
    Betka, Maik
    Wagner, Stefan
    2021 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATION OF SOFTWARE TEST (AST 2021), 2021, : 113 - 116
  • [2] Cost of Flaky Tests in Continuous Integration: An Industrial Case Study
    Leinen, Fabian
    Elsner, Daniel
    Pretschner, Alexander
    Stahlbauer, Andreas
    Sailer, Michael
    Juergens, Elmar
    2024 IEEE CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION, ICST 2024, 2024, : 329 - 340
  • [3] Test Case Prioritization for Continuous Regression Testing: An Industrial Case Study
    Marijan, Dusica
    Gotlieb, Arnaud
    Sen, Sagar
    2013 29TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM), 2013, : 540 - 543
  • [4] Impact of Education and Experience Level on the Effectiveness of Exploratory Testing: An Industrial Case Study
    Gebizli, Ceren Sahin
    Sozer, Hasan
    10TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS - ICSTW 2017, 2017, : 23 - 28
  • [5] Exploratory Testing of Large-Scale Systems - Testing in the Continuous Integration and Delivery Pipeline
    Martensson, Torvald
    Stahl, Daniel
    Bosch, Jan
    PRODUCT-FOCUSED SOFTWARE PROCESS IMPROVEMENT (PROFES 2017), 2017, 10611 : 368 - 384
  • [6] Exploratory testing: A multiple case study
    Itkonen, J
    Rautiainen, K
    2005 INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING (ISESE), PROCEEDINGS, 2005, : 82 - 91
  • [7] Comparative study of machine learning test case prioritization for continuous integration testing
    Dusica Marijan
    Software Quality Journal, 2023, 31 : 1415 - 1438
  • [8] Comparative study of machine learning test case prioritization for continuous integration testing
    Marijan, Dusica
    SOFTWARE QUALITY JOURNAL, 2023, 31 (04) : 1415 - 1438
  • [9] Test Case Selection in Continuous Regression Testing using Machine Learning: An Industrial Case Study
    Ahmad, Azeem
    Rentas, Dimistris
    Hasselqvist, Daniel
    Sandberg, Pontus
    Sandahl, Kristian
    Vulgarakis, Aneta
    2024 IEEE 48TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE, COMPSAC 2024, 2024, : 33 - 38
  • [10] Mutation Integration Testing
    Grechanik, Mark
    Devanla, Gurudev
    2016 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS 2016), 2016, : 353 - 364