Detecting Real Faults in the Gson Library Through Search-Based Unit Test Generation

Detecting Real Faults in the Gson Library Through Search-Based Unit Test Generation
复制标题

通过基于搜索的单元测试生成检测 Gson 库中的真实故障

DOI:
10.1007/978-3-319-99241-9_25
复制
发表时间:
2018
期刊:
International Symposium on Search Based Software Engineering
影响因子:
--
通讯作者:
Gay, Gregory
Gay, Gregory
中科院分区:
--
文献类型:
--
作者:
Gay, Gregory

文献摘要

被引文献

相似文献

测试生成工具的一个重要基准是它们检测真实故障的能力。我们已经识别出 Gson(一个用于操作 JSON 数据的 Java 库)中的 16 个真实故障,并将它们添加到 Defects4J 故障数据库中。使用 EvoSuite 框架生成的测试能够检测到七个故障。对剩余故障的分析为如何改进发电提供了经验教训。我们将这些错误提供给社区以协助未来的研究。
An important benchmark for test generation tools is their ability to detectreal faults. We have identified 16 real faults in Gson—a Java library for manipulating JSON data—and added them to the Defects4J fault database. Tests generated using the EvoSuite framework are able to detect seven faults. Analysis of the remaining faults offers lessons in how to improve generation. We offer these faults to the community to assist future research.