一种基于模型的Amazon Lex任务型聊天机器人测试技术
A Model-based Testing Technique for Amazon Lex Task-based Chatbots
AI总结:
提出LexTester,一种基于模型的自动化测试技术,通过生成对话图并覆盖策略生成测试套件,在五个Amazon Lex聊天机器人上相比Botium测试复杂度翻倍、覆盖率达83-95%、缺陷检测效率提升四倍。
摘要:
任务型聊天机器人如今被广泛采用,通常集成到实际应用和通信渠道中,旨在通过对话界面帮助用户完成任务。与其他软件一样,聊天机器人也容易出错。尽管它们在日常活动中日益普及,但现有的质量评估技术仍存在诸多局限,例如生成的测试场景简单和预言弱。本文提出了LexTester,一种针对Amazon Lex聊天机器人的自动化基于模型的测试技术。该技术探索被测聊天机器人的对话空间,生成所有可能交互的对话图,并根据不同覆盖策略从中生成可执行的测试套件。我们在五个Amazon Lex聊天机器人上将LexTester与当前最先进的聊天机器人测试工具Botium进行了评估,LexTester在所有测试对象上均持续优于Botium,生成了更多测试用例,复杂度几乎翻倍,实现了对话元素83-95%的覆盖率,并在相近时间成本下将缺陷检测效率提升了最多四倍。
英文摘要:
Task-based chatbots are nowadays widely adopted software systems, usually integrated into real-world applications and communication channels, designed to assist users in completing tasks through conversational interfaces. Like any other software, even chatbots are prone to bugs. Despite their increasing pervasiveness in everyday activities, existing techniques for assessing their quality still exhibit several limitations, such as the simplicity of generated test scenarios and oracle weaknesses. In this paper, we present LexTester, an automated model-based testing technique for Amazon Lex chatbots. The technique explores the conversational space of the chatbot under test to generate a Dialog Graph of all possible interactions, from which an executable test suite is generated according to different coverage strategies. LexTester was evaluated against the state-of-the-practice chatbot testing tool Botium on five Amazon Lex chatbots, consistently outperforming it in all subjects, generating more tests with nearly double complexity, achieving overall 83-95% coverage of conversational elements, and improving fault detection effectiveness by up to four times at comparable time costs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。