PulseAugur
实时 12:24:32

AI代理利用强化学习增强软件测试用例生成和代码覆盖率

研究人员开发了两种使用大型语言模型(LLMs)和强化学习进行自动化测试用例生成的新方法。第一种方法PPO-LLM采用近端策略优化(PPO)来指导LLM的提示选择,旨在最大化代码覆盖率并最小化源代码长度。第二种方法FeedbackLLM使用具有专门反馈代理的多代理系统,根据行和分支执行元数据来优化测试用例,并包含一个冗余预防缓存。这两种方法在为复杂软件系统生成测试用例方面均显示出优于现有工具的性能。 AI

影响 这些新方法可以通过自动化测试用例生成和提高代码覆盖率,显著提高软件测试的效率和有效性,尤其是在复杂系统方面。

排序理由 arXiv上发表了两篇学术论文,详细介绍了使用LLMs和强化学习进行自动化测试用例生成的新方法。

在 arXiv cs.LG 阅读 →

AI 生成摘要 · Google Gemini · 来自 2 个来源。 我们如何撰写摘要 →

AI代理利用强化学习增强软件测试用例生成和代码覆盖率

报道来源 [2]

  1. arXiv cs.LG TIER_1 English(EN) · Gourisetty Venkata Sai Koushik, Dama Aditya, Mahankali Harish Sai, Peddi Siddarhta, Shadab Ahmad, Vivek Yelleti ·

    用于自适应提示选择和测试用例生成的 PPO 引导的 Agentic Pipeline

    arXiv:2605.00942v1 Announce Type: cross Abstract: Developing effective test cases capable of thoroughly exercising large-scale software systems is inherently difficult, especially if such systems have voluminous, complex, and deeply nested source codes. In this work, we present a…

  2. arXiv cs.LG TIER_1 English(EN) · Kushal Jasti, Tejamani Prashanth Sahu, Rishitha Pentyala, Muvvala Mohit, Vivek Yelleti ·

    FeedbackLLM:元数据驱动、多智能体、语言无关的测试用例生成器,具备演进式提示和覆盖率反馈

    arXiv:2605.01264v1 Announce Type: cross Abstract: Traditional approaches to test case generation often involve manual effort and incur significant computational overhead. Additionally, these approaches are not scalable, and hence, unsuitable for complex software systems. Recently…