MutaBot:一种面向聊天机器人的变异测试方法
MutaBot: A Mutation Testing Approach for Chatbots
AI总结:
本文提出面向对话式聊天机器人的变异测试工具 MutaBot,支持对话流、意图和上下文层级变异及 Dialogflow 平台,并通过三个机器人和 Botium 测试用例验证其可发现测试套件弱点。
摘要:
变异测试是一种通过向程序中植入人工故障来评估测试套件有效性的技术。尽管该技术已适用于许多平台和语言,但目前尚无可用于对话式聊天机器人的变异测试工具;对话式聊天机器人正日益成为设计可通过自然语言界面与用户交互的系统的流行方案。需要注意的是,由于对话必须由对话式聊天机器人的开发者显式设计,这些系统会暴露于现有变异测试工具不支持的特定故障类型。在本文中,我们提出了 MutaBot,这是一种面向对话式聊天机器人的变异测试工具。MutaBot 在多个层级处理变异,包括对话流、意图和上下文。我们将该工具设计为可潜在面向多个平台,同时实现了对 Google Dialogflow 聊天机器人的初步支持。我们使用三个 Dialogflow 聊天机器人以及通过 Botium 生成的测试用例评估了该工具,结果揭示了测试套件中的弱点。
英文摘要:
Mutation testing is a technique aimed at assessing the effectiveness of test suites by seeding artificial faults into programs. Although available for many platforms and languages, no mutation testing tool is currently available for conversational chatbots, which represent an increasingly popular solution to design systems that can interact with users through a natural language interface. Note that since conversations must be explicitly engineered by the developers of conversational chatbots, these systems are exposed to specific types of faults not supported by existing mutation testing tools. In this paper, we present MutaBot, a mutation testing tool for conversational chatbots. MutaBot addresses mutations at multiple levels, including conversational flows, intents, and contexts. We designed the tool to potentially target multiple platforms, while we implemented initial support for Google Dialogflow chatbots. We assessed the tool with three Dialogflow chatbots and test cases generated with Botium, revealing weaknesses in the test suites.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。