arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.05152cs.SE
收藏

迈向基于对话式大语言模型的自主测试智能体

Towards Autonomous Testing Agents via Conversational Large Language Models

Robert Feldt, Sungmin Kang, Juyeon Yoon, Shin Yoo

AI总结:

本文提出基于对话式大语言模型的自主测试智能体分类法,展示其作为测试助手的潜力,并探讨了自主性提升带来的益处及幻觉在测试中的积极作用。

摘要:

软件测试是开发周期中的重要组成部分,然而,要充分测试软件需要专业知识和大量的开发人员精力。近期对大语言模型(LLM)能力的发现表明,它们可以用作自动化测试助手,从而提供有用的信息,甚至驱动测试过程。为了突出这项技术的潜力,我们根据自主性水平提出了基于LLM的测试智能体分类法,并描述了更高水平的自主性如何在实践中使开发人员受益。我们提供了一个使用LLM作为测试助手的示例,以展示用于测试的对话式框架如何帮助开发人员。这也突显了经常被批评的LLM幻觉在测试中如何可能是有益的。我们确定了LLM驱动的测试智能体可以带来的其他切实好处,并讨论了潜在的局限性。

英文摘要:

Software testing is an important part of the development cycle, yet it requires specialized expertise and substantial developer effort to adequately test software. Recent discoveries of the capabilities of large language models (LLMs) suggest that they can be used as automated testing assistants, and thus provide helpful information and even drive the testing process. To highlight the potential of this technology, we present a taxonomy of LLM-based testing agents based on their level of autonomy, and describe how a greater level of autonomy can benefit developers in practice. An example use of LLMs as a testing assistant is provided to demonstrate how a conversational framework for testing can help developers. This also highlights how the often criticized hallucination of LLMs can be beneficial for testing. We identify other tangible benefits that LLM-driven testing agents can bestow, and also discuss potential limitations.

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

↑