Testability Transformations For Existing APIs

被引:17
作者
Arcuri, Andrea [1 ]
Galeotti, Juan P. [2 ]
机构
[1] Kristiana Univ Coll, Dept Technol, Oslo, Norway
[2] UBA, FCEyN, Dept Comp, ICC,CONICET, Buenos Aires, DF, Argentina
来源
2020 IEEE 13TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VALIDATION AND VERIFICATION (ICST 2020) | 2020年
关键词
SBST; test generation; testability transformation; system testing; REST; SOFTWARE;
D O I
10.1109/ICST46399.2020.00025
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Search-based software testing (SBST) has been shown to be an effective technique to generate test cases automatically. Its effectiveness strongly depends on the guidance of the fitness function. Unfortunately, a common issue in SBST is the so called flag problem, where the fitness landscape presents a plateau that provides no guidance. In this paper, we provide a series of novel testability transformations aimed at providing guidance in the context of commonly used API calls. An example is when strings need to be converted into valid date/time objects. We implemented our novel techniques as an extension to EVOMASTER, a SBST tool that generates system level test cases. Experiments on six open-source REST web services, and an industrial one, show that our novel techniques improve performance significantly.
引用
收藏
页码:153 / 163
页数:11
相关论文
共 27 条