# Using Grammar Patterns to Interpret Test Method Name Evolution

arXiv: https://arxiv.org/abs/2103.09190 · HTML: https://mlsanity.com/paper/2103.09190/

## Key facts

- Cited by 2 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 16 Mar 2021.

## Built on by (most cited first, 2 of 2)

- [An Ensemble Approach for Annotating Source Code Identifiers with Part-of-speech Tags](https://mlsanity.com/paper/2109.00629/) (2021)
- [SCALAR: A Part-of-speech Tagger for Identifiers](https://mlsanity.com/paper/2504.17038/) (2025)

## Abstract (arXiv)

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.
