SUSHI: A Test Generator for Programs with Complex Structured Inputs
SUSHI: A Test Generator for Programs with Complex Structured Inputs
复制标题
SUSHI:具有复杂结构化输入的程序的测试生成器
DOI:
10.1145/3183440.3183472
复制
发表时间:
2018
期刊:
影响因子:
--
通讯作者:
M. Pezzè
中科院分区:
文献类型:
--
作者:
Pietro Braione;G. Denaro;Andrea Mattavelli;M. Pezzè
Random and search-based test generators yield realistic test cases based on program APIs, but often miss structural test objectives that depend on non-trivial data structure instances; Whereas symbolic execution can precisely characterise those dependencies but does not compute method sequences to instantiate them. We present SUSHI, a high-coverage test case generator for programs with complex structured inputs. SUSHI leverages symbolic execution to generate path conditions that precisely describe the relationship between program paths and input data structures, and converts the path conditions into the fitness functions of search-based test generation problems. A solution for the search problem is a legal method sequence that instantiates the structured inputs to exercise the program paths identified by the path condition. Our experiments indicate that SUSHI can distinctively complement current automatic test generation tools.
DOI:
10.1145/3092703.3092715
发表时间:
2017
期刊:
--
影响因子:
--
作者:
Braione P
通讯作者:
Braione P