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

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

计算机科学 > 软件工程

arXiv:2005.05359 (cs)
[提交于 2020年5月11日]

标题:A Pattern-based Approach to Detect and Improve Non-descriptive Test Names

作者:Jianwei Wu, James Clause
查看论文《A Pattern-based Approach to Detect and Improve Non-descriptive Test Names》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Unit tests are an important artifact that supports the software development process in several ways. For example, when a test fails, its name can provide the first step towards understanding the purpose of the test. Unfortunately, unit tests often lack descriptive names. In this paper, we propose a new, pattern-based approach that can help developers improve the quality of test names of JUnit tests by making them more descriptive. It does this by detecting non-descriptive test names and in some cases, providing additional information about how the name can be improved. Our approach was assessed using an empirical evaluation on 34352 JUnit tests. The results of the evaluation show that the approach is feasible, accurate, and useful at discriminating descriptive and non-descriptive names with a 95% true-positive rate.
评论: Accepted by The Journal of Systems & Software
主题: 软件工程 (cs.SE)
引用方式: arXiv:2005.05359 [cs.SE]
  (或者 arXiv:2005.05359v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2005.05359
期刊参考: The Journal of Systems & Software 168C (2020) 110639
相关 DOI: https://doi.org/10.1016/j.jss.2020.110639

提交历史

来自:Jianwei Wu
[v1] 2020年5月11日 星期一 18:08:35 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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