arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.02454cs.SEcs.AI
收藏

代理测试的兴起:多代理系统用于稳健的软件质量保证

The Rise of Agentic Testing: Multi-Agent Systems for Robust Software Quality Assurance

MUFG Bank(三菱日联银行);Cisco Systems Inc(思科系统公司);University of North Carolina(北卡罗来纳大学)

Saba Naqvi, Mohammad Baqar, Nawaz Ali Mohammad

AI总结:

本文提出多代理系统用于提升软件测试质量,通过闭环反馈机制实现自适应测试生成和优化,显著提高测试覆盖率并减少无效测试。

摘要:

软件测试已朝着智能化自动化发展,但目前基于AI的测试生成器仍存在静态、单次输出的问题,常常产生无效、冗余或不可执行的测试,这是由于缺乏执行意识的反馈。本文介绍了一种代理多模型测试框架,这是一个闭环、自我纠正的系统,其中测试生成代理、执行与分析代理以及审查与优化代理协同生成、执行、分析和改进测试,直到收敛。通过使用沙盒执行、详细的故障报告以及对失败测试的迭代再生或修补,该框架能够自主提高测试质量和扩展覆盖率。将其集成到与CI/CD兼容的流水线中,它利用覆盖率指标和执行结果的强化信号来引导改进。在基于微服务的应用中进行的实证评估显示,与单模型基线相比,无效测试减少了60%,覆盖率提高了30%,并且显著减少了人工工作量,证明了多代理、反馈驱动的循环可以将软件测试发展为一个自主、持续学习的质量保证生态系统,用于自我修复、高可靠性的代码库。

英文摘要:

Software testing has progressed toward intelligent automation, yet current AI-based test generators still suffer from static, single-shot outputs that frequently produce invalid, redundant, or non-executable tests due to the lack of execution aware feedback. This paper introduces an agentic multi-model testing framework a closed-loop, self-correcting system in which a Test Generation Agent, an Execution and Analysis Agent, and a Review and Optimization Agent collaboratively generate, execute, analyze, and refine tests until convergence. By using sandboxed execution, detailed failure reporting, and iterative regeneration or patching of failing tests, the framework autonomously improves test quality and expands coverage. Integrated into a CI/CD-compatible pipeline, it leverages reinforcement signals from coverage metrics and execution outcomes to guide refinement. Empirical evaluations on microservice based applications show up to a 60% reduction in invalid tests, 30% coverage improvement, and significantly reduced human effort compared to single-model baselines demonstrating that multi-agent, feedback-driven loops can evolve software testing into an autonomous, continuously learning quality assurance ecosystem for self-healing, high-reliability codebases.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑