Wu, JianweiClause, James2022-06-222022-06-222022-05-24Wu, Jianwei, and James Clause. “Automated Identification of Uniqueness in JUnit Tests.” ACM Transactions on Software Engineering and Methodology, May 24, 2022, 3533313. https://doi.org/10.1145/3533313.1557-7392https://udspace.udel.edu/handle/19716/31011© Jianwei Wu, James Clause | Association for Computing Machinery 2022. This is the author's version of the work. It is posted here for your personal use. Not for redistribution. The definitive Version of Record was published in ACM Transactions on Software Engineering and Methodology, https://doi.org/10.1145/3533313.In the context of testing, descriptive test names are desirable because they document the purpose of tests and facilitate comprehension tasks during maintenance. Unfortunately, prior work has shown that tests often do not have descriptive names. To address this limitation, techniques have been developed to automatically generate descriptive names. However, they often generated names that are invalid or do not meet with developer approval. To help address these limitations, we present a novel approach to extract the attributes of a given test that make it unique among its siblings. Because such attributes often serve as the basis for descriptive names, identifying them is an important first step towards improving test name generation approaches. To evaluate the approach, we created a prototype implementation for JUnit tests and compared its output with human judgment. The results of the evaluation demonstrate that the attributes identified by the approach are consistent with human judgment and are likely to be useful for future name generation techniques.en-USsoftware and its engineeringsoftware testing and debuggingtheory of computationprogram analysisunit testingformal concept analysisAutomated Identification of Uniqueness in JUnit TestsArticle