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

LLM在自动化软件测试中的潜力:从生成到报告

The Potential of LLMs in Automating Software Testing: From Generation to Reporting

Florida Institute of Technology(佛罗里达理工学院)

Betim Sherifi, Khaled Slhoub, Fitzroy Nembhard

AI总结:

本文提出一种基于LLM的智能体软件测试框架,可自动生成单元测试、可视化调用图并执行与报告,在Python和Java应用中验证了其高覆盖率与高效性。

摘要:

在软件工程中,拥有高质量的软件至关重要,这需要在测试活动中进行稳健的验证与确认过程。手动测试虽然有效,但可能耗时且成本高昂,导致对自动化方法的需求日益增加。大型语言模型(LLMs)的最新进展已显著影响软件工程,特别是在需求分析、测试自动化和调试等领域。本文探索了一种面向智能体的自动化软件测试方法,利用LLMs减少人工干预并提高测试效率。所提出的框架整合了LLMs来生成单元测试、可视化调用图,并自动化测试执行与报告。跨多个Python和Java应用的评估表明,该系统具有高测试覆盖率和高效运行的特点。本研究强调了LLM驱动的智能体在简化软件测试工作流方面的潜力,同时应对可扩展性和准确性方面的挑战。

英文摘要:

Having a high quality software is essential in software engineering, which requires robust validation and verification processes during testing activities. Manual testing, while effective, can be time consuming and costly, leading to an increased demand for automated methods. Recent advancements in Large Language Models (LLMs) have significantly influenced software engineering, particularly in areas like requirements analysis, test automation, and debugging. This paper explores an agent-oriented approach to automated software testing, using LLMs to reduce human intervention and enhance testing efficiency. The proposed framework integrates LLMs to generate unit tests, visualize call graphs, and automate test execution and reporting. Evaluations across multiple applications in Python and Java demonstrate the system's high test coverage and efficient operation. This research underscores the potential of LLM-powered agents to streamline software testing workflows while addressing challenges in scalability and accuracy.

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

↑