Using Grammar Patterns to Interpret Test Method Name Evolution

Using Grammar Patterns to Interpret Test Method Name Evolution
复制标题

DOI:
10.1109/icpc52881.2021.00039
复制
发表时间:
2021-03
期刊:
2021 IEEE/ACM 29th International Conference on Program Comprehension (ICPC)
影响因子:
--
通讯作者:
Anthony S Peruma;Emily Hu;Jiajun Chen;E. Alomar;Mohamed Wiem Mkaouer;Christian D. Newman
Anthony S Peruma;Emily Hu;Jiajun Chen;E. Alomar;Mohamed Wiem Mkaouer;Christian D. Newman
中科院分区:
其他
文献类型:
--
作者:
Anthony S Peruma;Emily Hu;Jiajun Chen;E. Alomar;Mohamed Wiem Mkaouer;Christian D. Newman

文献摘要

被引文献

相似文献

为测试方法命名是一个很好的实践,这样开发人员就可以理解它们;它们必须以这样一种方式编写,即它们的目的和功能对于维护它们的人来说是清楚的。不幸的是,很少有编写或维护测试方法名称的自动化支持。这可能导致不一致和低质量的测试名称,并增加支持这些方法的维护成本。由于这种风险,有必要帮助开发人员维护他们的测试方法名。在本文中,我们使用语法模式,以及它们与测试方法行为的关系,来理解测试命名实践。这些数据将用于支持维护测试名称的自动化工具。
It is good practice to name test methods such that they are comprehensible to developers; they must be written in such a way that their purpose and functionality are clear to those who will maintain them. Unfortunately, there is little automated support for writing or maintaining the names of test methods. This can lead to inconsistent and low-quality test names and increase the maintenance cost of supporting these methods. Due to this risk, it is essential to help developers in maintaining their test method names over time. In this paper, we use grammar patterns, and how they relate to test method behavior, to understand test naming practices. This data will be used to support an automated tool for maintaining test names.