arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.06416cs.SEcs.AIcs.LG
收藏

探索大型语言模型在工业测试维护流程中的集成

Exploring the Integration of Large Language Models in Industrial Test Maintenance Processes

Chalmers University of Technology(查尔姆斯理工大学);University of Gothenburg(哥德堡大学)

Jingxiong Liu, Ludvig Lemner, Linnea Wahlgren, Gregory Gay, Nasser Mohammadiha, Joakim Wennerberg

AI总结:

本文通过爱立信案例研究探索LLMs在工业测试维护中的应用,提出多智能体架构预测源代码变更后需维护的测试用例,为工业部署提供理论与实践指导。

摘要:

软件测试过程中,大量成本与精力被投入到执行测试维护上——即对测试用例进行添加、移除或修改,以使测试套件与被测系统保持同步,或以其他方式提升其质量。工具支持可以通过自动化流程的某些环节,或为开发人员提供指导与支持,从而降低测试维护的成本并提高其质量。在本研究中,我们探索了大型语言模型(LLMs)——即适用于文本分析的复杂机器学习模型——在支持测试维护方面的能力与应用。我们在爱立信公司开展了一项案例研究,探索了表明需要测试维护的触发因素、LLMs可以采取的行动,以及在工业环境中部署LLMs时必须考虑的各类事项。我们还提出并演示了一种多智能体架构,该架构能够在源代码发生变更后预测哪些测试需要维护。综合而言,这些贡献推进了我们对如何部署LLMs以惠及工业测试维护流程的理论理解和实践认识。

英文摘要:

Much of the cost and effort required during the software testing process is invested in performing test maintenance - the addition, removal, or modification of test cases to keep the test suite in sync with the system-under-test or to otherwise improve its quality. Tool support could reduce the cost - and improve the quality - of test maintenance by automating aspects of the process or by providing guidance and support to developers. In this study, we explore the capabilities and applications of large language models (LLMs) - complex machine learning models adapted to textual analysis - to support test maintenance. We conducted a case study at Ericsson AB where we explore the triggers that indicate the need for test maintenance, the actions that LLMs can take, and the considerations that must be made when deploying LLMs in an industrial setting. We also propose and demonstrate a multi-agent architecture that can predict which tests require maintenance following a change to the source code. Collectively, these contributions advance our theoretical and practical understanding of how LLMs can be deployed to benefit industrial test maintenance processes.

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

↑