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
期刊:
影响因子:
--
通讯作者:
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.