Using Grammar Patterns to Interpret Test Method Name Evolution

Anthony Peruma, Emily Hu, Jiajun Chen, Eman Abdullah Alomar, Mohamed Wiem Mkaouer, Christian D. Newman

    Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

    11 Scopus citations

    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.

    Original languageEnglish
    Title of host publicationProceedings - 2021 IEEE/ACM 29th International Conference on Program Comprehension, ICPC 2021
    Pages335-346
    Number of pages12
    ISBN (Electronic)9781665414036
    DOIs
    StatePublished - May 2021
    Event29th IEEE/ACM International Conference on Program Comprehension, ICPC 2021 - Virtual, Online
    Duration: 20 May 202121 May 2021

    Publication series

    NameIEEE International Conference on Program Comprehension
    Volume2021-May

    Conference

    Conference29th IEEE/ACM International Conference on Program Comprehension, ICPC 2021
    CityVirtual, Online
    Period20/05/2121/05/21

    Keywords

    • Grammar Pattern
    • Part of speech Tags
    • Program Comprehension
    • Rename Refactoring
    • Test Method Names

    Fingerprint

    Dive into the research topics of 'Using Grammar Patterns to Interpret Test Method Name Evolution'. Together they form a unique fingerprint.

    Cite this