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 条