paperbot · PL 论文追踪

全部论文 待读 收藏

P2 A new dimension of test quality: assessing and generating higher quality unit test cases

测试质量的新维度:评估与生成更高质量的单元测试用例
ISSTA Proceedings of the 28th ACM SIGSOFT International Symposium on Software Testing and Analysis2019匹配度 2/10 · 该论文聚焦单元测试质量、轻量级变异测试估计与测试焦点指标,属于软件测试/调试方向,与用户核心关注的静态分析、LLM/Agent 用于程序分析、浮点程序分析或贝叶斯程序分析没有直接交集;虽涉及自动化测试生成,但摘要未提 LLM/Agent 或静态分析,匹配度较低。引用 8 inbox
Giovanni Grano
crossref: 2026-09-12

AI 速览

一句话:提出轻量级变异测试估计与 test focus 新指标,以评估并驱动生成更高质量的单元测试。

单元测试是防止软件缺陷引入的第一道防线,其质量对构建稳健可靠软件至关重要。实践中组织常用代码覆盖率和变异覆盖率评估测试质量,但这些指标并不总能充分反映测试有效性。该研究计划使变异测试更具可扩展性,设计轻量级方法来估计测试有效性;同时提出衡量测试焦点(test focus)的新指标,作为开发者理解与维护测试所需工作量的代理。该指标既可与代码覆盖率互补地评估测试质量,也可用于驱动自动化测试用例生成,从而生成更高质量的测试。摘要未报告具体实验或结果。

问题
如何更准确且可扩展地评估单元测试质量,并利用该评估指导自动化生成更高质量的测试用例。
方法
计划设计轻量级测试有效性估计方法以扩展变异测试,并提出 test focus 指标,作为测试理解与维护成本的代理。
评估
摘要未给出具体评估方案或结果;预期通过该指标与代码覆盖率互补来评估测试质量,并驱动自动测试用例生成。
原文摘要(Abstract)

Unit tests form the first defensive line against the introduction of bugs in software systems. Therefore, their quality is of a paramount importance to produce robust and reliable software. To assess test quality, many organizations relies on metrics like code and mutation coverage. However, they are not always optimal to fulfill such a purpose. In my research, I want to make mutation testing scalable by devising a lightweight approach to estimate test effectiveness. Moreover, I plan to introduce a new metric measuring test focus—as a proxy for the effort needed by developers to understand and maintain a test— that both complements code coverage to assess test quality and can be used to drive automated test case generation of higher quality tests.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot5370,
  title = {A new dimension of test quality: assessing and generating higher quality unit test cases},
  author = {Giovanni Grano},
  booktitle = {ISSTA},
  year = {2019},
  doi = {10.1145/3293882.3338984}
}