Crash Reproduction via Test Case Mutation

被引:41
|
作者
Xuan, Jifeng [1 ]
Xie, Xiaoyuan [1 ]
Monperrus, Martin [2 ,3 ]
机构
[1] Wuhan Univ, Sch Comp, State Key Lab Software Engn, Wuhan, Peoples R China
[2] Univ Lille, Villeneuve Dascq, France
[3] INRIA, Le Chesnay, France
关键词
Crash reproduction; test case mutation; stack trace;
D O I
10.1145/2786805.2803206
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Developers reproduce crashes to understand root causes during software debugging. To reduce the manual effort by developers, automatic methods of crash reproduction generate new test cases for triggering crashes. However, due to the complex program structures, it is challenging to generate a test case to cover a specific program path. In this paper, we propose an approach to automatic crash reproduction via test case mutation, which updates existing test cases to trigger crashes rather than creating new test cases from scratch. This approach leverages major structures and objects in existing test cases and increases the chance of executing the specific path. Our preliminary result on 12 crashes in Apache Commons Collections shows that 7 crashes are reproduced by our approach of test case mutation.
引用
收藏
页码:910 / 913
页数:4
相关论文
共 50 条
  • [1] Well-informed Test Case Generation and Crash Reproduction
    Derakhshanfar, Pouria
    2020 IEEE 13TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VALIDATION AND VERIFICATION (ICST 2020), 2020, : 424 - 426
  • [2] TCM: Test Case Mutation to Improve Crash Detection in Android
    Koroglu, Yavuz
    Sen, Alper
    FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING (FASE 2018), 2018, 10802 : 264 - 280
  • [3] Validating Test Case Migration via Mutation Analysis
    Jovanovikj, Ivan
    Yigitbas, Enes
    Nagaraj, Achyuth
    Anjorin, Anthony
    Sauer, Stefan
    Engels, Gregor
    2020 IEEE/ACM 15TH INTERNATIONAL CONFERENCE ON AUTOMATION OF SOFTWARE TEST, AST, 2020, : 31 - 40
  • [4] Test Case Selection for Neural Network via Data Mutation
    Cao, Xue-Jie
    Chen, Jun-Jie
    Yan, Ming
    You, Han-Mo
    Wu, Zhuo
    Wang, Zan
    Ruan Jian Xue Bao/Journal of Software, 2024, 35 (11): : 4973 - 4992
  • [5] Mutation based test case generation via a path selection strategy
    Papadakis, Mike
    Malevris, Nicos
    INFORMATION AND SOFTWARE TECHNOLOGY, 2012, 54 (09) : 915 - 932
  • [6] STAR: Stack Trace Based Automatic Crash Reproduction via Symbolic Execution
    Chen, Ning
    Kim, Sunghun
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2015, 41 (02) : 198 - 220
  • [7] Improving Automated Crash Reproduction
    Oliver, Philip
    2022 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2022), 2022, : 278 - 280
  • [8] Evolutionary Testing for Crash Reproduction
    Soltani, Mozhan
    Panichella, Annibale
    van Deursen, Arie
    2016 IEEE/ACM 9TH INTERNATIONAL WORKSHOP ON SEARCH-BASED SOFTWARE TESTING (SBST), 2016, : 1 - 4
  • [9] A controlled experiment assessing test case prioritization techniques via mutation faults
    Do, H
    Rothermel, G
    ICSM 2005: PROCEEDINGS OF THE 21ST IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, 2005, : 411 - 420
  • [10] Impact of Crossover and Mutation on Reproduction in Evolutionary Test Model Learning
    Sroka, Michal
    Fisch, Dominik
    Nagy, Roman
    2016 IEEE 14TH INTERNATIONAL SYMPOSIUM ON INTELLIGENT SYSTEMS AND INFORMATICS (SISY), 2016, : 1 - 6