由大语言模型与场景知识驱动的自动化肥皂剧测试:可行性、挑战与未来方向
Automated Soap Opera Testing Directed by LLMs and Scenario Knowledge: Feasibility, Challenges, and Road Ahead
AI总结:
本研究探索基于LLM与场景知识图谱的多智能体肥皂剧测试自动化方案,验证其可行性,分析与人工测试的差距,并提出未来发展方向以指导相关研究。
摘要:
探索性测试(ET)借助测试人员的知识、创造力与经验设计多样化测试用例,从终端用户视角发现意外缺陷。尽管ET已被证实在交互式系统的系统级测试中效果显著,但人工执行的需求阻碍了其大规模应用。本研究探讨了基于场景的自动化探索性测试(又称肥皂剧测试)的可行性、挑战与未来方向。我们开展了一项形成性研究,明确了有效开展人工肥皂剧测试的关键洞见,以及实现该流程自动化面临的挑战。随后我们开发了一套多智能体系统,利用大语言模型(LLM)与场景知识图谱(Scenario Knowledge Graph,SKG)实现肥皂剧测试自动化。该系统包含Planner(规划器)、Player(执行器)、Detector(检测器)三个多模态智能体,三者协同执行测试并识别潜在缺陷。实验结果证明了自动化肥皂剧测试的潜力,但与人工执行相比仍存在显著差距,尤其体现在场景边界探索不足与缺陷识别错误两方面。基于上述观察,我们展望了自动化肥皂剧测试的未来发展路径,聚焦三大核心方向:神经方法与符号方法的协同、人机协同学习、肥皂剧测试与更广泛软件工程实践的融合,这些洞见旨在为未来研究提供指引与启发。
英文摘要:
Exploratory testing (ET) harnesses tester's knowledge, creativity, and experience to create varying tests that uncover unexpected bugs from the end-user's perspective. Although ET has proven effective in system-level testing of interactive systems, the need for manual execution has hindered large-scale adoption. In this work, we explore the feasibility, challenges and road ahead of automated scenario-based ET (a.k.a soap opera testing). We conduct a formative study, identifying key insights for effective manual soap opera testing and challenges in automating the process. We then develop a multi-agent system leveraging LLMs and a Scenario Knowledge Graph (SKG) to automate soap opera testing. The system consists of three multi-modal agents, Planner, Player, and Detector that collaborate to execute tests and identify potential bugs. Experimental results demonstrate the potential of automated soap opera testing, but there remains a significant gap compared to manual execution, especially under-explored scenario boundaries and incorrectly identified bugs. Based on the observation, we envision road ahead for the future of automated soap opera testing, focusing on three key aspects: the synergy of neural and symbolic approaches, human-AI co-learning, and the integration of soap opera testing with broader software engineering practices. These insights aim to guide and inspire the future research.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。