自动生成测试中新质量问题的人工分类
A manual categorization of new quality issues on automatically-generated tests
AI总结:
针对自动生成测试存在过往测试坏味未覆盖的质量问题这一研究空白,通过对2340个测试的人工分析与主题分类,提出含13类新问题的分类体系、其出现频率及8项质量提升建议。
摘要:
已有多项研究以测试坏味为主要质量属性,分析了自动生成测试用例的质量。但近期研究指出,生成的测试可能存在诸多此前研究未涉及的质量问题,目前学界对这些问题及其在生成测试中的出现频率知之甚少。本文对包含2340个自动生成测试的外部数据集开展人工分析,旨在发现过往公认测试坏味未覆盖的新质量问题。我们采用主题分析法对发现的新质量问题进行分组与分类,最终提出包含13种新质量问题的分类体系,归为4大类别。本文还报告了这些新质量问题在数据集中的出现频率,并提出8项测试生成工具可参考的建议,以提升自动生成测试的质量与实用性。
英文摘要:
Diverse studies have analyzed the quality of automatically generated test cases by using test smells as the main quality attribute. But recent work reported that generated tests may suffer a number of quality issues not necessarily considered in previous studies. Little is known about these issues and their frequency within generated tests. In this paper, we report on a manual analysis of an external dataset consisting of 2,340 automatically generated tests. This analysis aimed at detecting new quality issues, not covered by past recognized test smells. We use thematic analysis to group and categorize the new quality issues found. As a result, we propose a taxonomy of 13 new quality issues grouped in four categories. We also report on the frequency of these new quality issues within the dataset and present eight recommendations that test generators may consider to improve the quality and usefulness of the automatically generated tests.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。