paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Ever-Improving Test Suite by Leveraging Large Language Models

利用大语言模型持续改进测试套件
FSE Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering2025匹配度 3/10 · 该论文属于利用 LLM 增强软件测试套件与测试充分性分析,属于 LLM for PL 的邻近方向,但并不涉及用户核心关注的静态分析、形式化验证、浮点程序分析或贝叶斯程序分析,也未聚焦 Agentic 程序或 ML 系统。引用 0 inbox
Ketai Qiu
crossref: 2026-09-12

AI 速览

一句话:E-Test 借助大语言模型识别已测试、未测试与易错单元执行场景,增量扩充测试套件。

论文关注长期演化的软件系统中测试套件难以覆盖真实生产行为的问题:只有不断加入反映实际使用情况的测试用例,才能持续维持软件质量。为此作者提出 E-Test,一种增量式测试套件扩充方法。它利用大语言模型分析单元级执行场景,区分出已被测试覆盖、尚未被测试以及容易出错的场景,并据此自动生成、补充相应的测试用例,使测试套件随着生产中新出现的行为不断演进。实验评估表明,在识别测试不充分的行为以及优化测试套件这两项任务上,E-Test 均优于当前主要的最先进方法。

问题
长期演化系统的测试套件往往无法覆盖生产环境中实际出现的行为,缺少能反映真实使用方式的测试用例。
方法
E-Test 使用大语言模型识别单元执行场景中被测、未被测与易出错的部分,并据此增量地扩充测试套件。
评估
通过实验与现有主要最先进方法对比,在识别测试不足行为和优化测试套件两方面评估 E-Test 的效果。
原文摘要(Abstract)

Augmenting test suites with test cases that reflect the actual usage of the software system is extremely important to sustain the quality of long lasting software systems. In this paper, we propose E-Test, an approach that incrementally augments a test suite with test cases that exercise behaviors that emerge in production and that are not been tested yet. E-Test leverages Large Language Models to identify already-tested, not-yet-tested, and error-prone unit execution scenarios, and augment the test suite accordingly. Our experimental evaluation shows that E-Test outperforms the main state-of-the-art approaches to identify inadequately tested behaviors and optimize test suites.

链接与引用

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

BibTeX
@inproceedings{paperbot8987,
  title = {Ever-Improving Test Suite by Leveraging Large Language Models},
  author = {Ketai Qiu},
  booktitle = {FSE},
  year = {2025},
  doi = {10.1145/3696630.3728614}
}