Using Grammar Patterns to Interpret Test Method Name Evolution
Anthony Peruma, Emily Hu, Jiajun Chen, Eman Abdullah Alomar, and Mohamed Wiem Mkaouer, Christian D. Newman

TL;DR
This paper explores how grammar patterns can be used to interpret and support the maintenance of test method names, aiming to improve consistency and clarity in software testing practices.
Contribution
It introduces a novel approach using grammar patterns to analyze and support the evolution of test method names, facilitating automated maintenance tools.
Findings
Identifies relationships between grammar patterns and test method behavior
Proposes a framework for automated test name maintenance
Enhances understanding of test naming practices
Abstract
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.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Service-Oriented Architecture and Web Services · Software Engineering Research
