跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:1811.08330 (cs)
[提交于 2018年11月20日]

标题:Automatic Test Improvement with DSpot: a Study with Ten Mature Open-Source Projects

作者:Benjamin Danglot, Oscar Luis Vera-Pérez, Benoit Baudry, Martin Monperrus
查看论文《Automatic Test Improvement with DSpot: a Study with Ten Mature Open-Source Projects》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:In the literature, there is a rather clear segregation between manually written tests by developers and automatically generated ones. In this paper, we explore a third solution: to automatically improve existing test cases written by developers. We present the concept, design, and implementation of a system called \dspot, that takes developer-written test cases as input (junit tests in Java) and synthesizes improved versions of them as output. Those test improvements are given back to developers as patches or pull requests, that can be directly integrated in the main branch of the test code base. We have evaluated DSpot in a deep, systematic manner over 40 real-world unit test classes from 10 notable and open-source software projects. We have amplified all test methods from those 40 unit test classes. In 26/40 cases, DSpot is able to automatically improve the test under study, by triggering new behaviors and adding new valuable assertions. Next, for ten projects under consideration, we have proposed a test improvement automatically synthesized by \dspot to the lead developers. In total, 13/19 proposed test improvements were accepted by the developers and merged into the main code base. This shows that DSpot is capable of automatically improving unit-tests in real-world, large-scale Java software.
主题: 软件工程 (cs.SE)
引用方式: arXiv:1811.08330 [cs.SE]
  (或者 arXiv:1811.08330v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.1811.08330
期刊参考: Empirical Software Engineering, Springer Verlag, 2019
相关 DOI: https://doi.org/10.1007/s10664-019-09692-y

提交历史

来自:Benjamin Danglot
[v1] 2018年11月20日 星期二 16:00:22 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2018-11
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站