揭示假设:探索 AI 聊天机器人与人类测试人员的决策
Unveiling Assumptions: Exploring the Decisions of AI Chatbots and Human Testers
AI总结:
本文通过调查 127 名测试人员并对比四款 LLM 聊天机器人,考察二者在高成本测试优先级决策中的假设与直觉是否一致,发现多数人类偏好多样化测试集,部分聊天机器人与之相符。
摘要:
Large Language Models(LLM,大语言模型)与聊天机器人的融合,为软件测试中的决策带来了新的挑战与机遇。决策依赖于多种信息,包括代码、需求规格说明以及其他软件制品,而这些信息往往不清晰,或仅存在于开发者的头脑中。为了弥补不清晰信息所留下的空白,我们通常依赖假设、直觉或以往经验来作出决策。本文探讨了 Bard、Copilot 和 ChatGPT 等基于 LLM 的聊天机器人在支持软件测试人员进行测试决策(例如有效确定测试用例优先级)方面的潜力。我们研究了在测试用例穷举执行通常不切实际的高成本测试场景中,基于 LLM 的聊天机器人与人类测试人员是否持有相似的“假设”或直觉。一项针对 127 名测试人员的调查初步结果表明,他们偏好多样化的测试场景,其中绝大多数(96%)倾向于不相似的测试集。有趣的是,四个聊天机器人中有两个反映了这种偏好,与人类直觉保持一致,而其他聊天机器人则选择了相似测试场景,仅有 3.9% 的测试人员选择该方案。我们的初步洞见表明,这是在增强测试人员与聊天机器人之间协作动态这一背景下的一条有前景的途径。
英文摘要:
The integration of Large Language Models (LLMs) and chatbots introduces new challenges and opportunities for decision-making in software testing. Decision-making relies on a variety of information, including code, requirements specifications, and other software artifacts that are often unclear or exist solely in the developer's mind. To fill in the gaps left by unclear information, we often rely on assumptions, intuition, or previous experiences to make decisions. This paper explores the potential of LLM-based chatbots like Bard, Copilot, and ChatGPT, to support software testers in test decisions such as prioritizing test cases effectively. We investigate whether LLM-based chatbots and human testers share similar "assumptions" or intuition in prohibitive testing scenarios where exhaustive execution of test cases is often impractical. Preliminary results from a survey of 127 testers indicate a preference for diverse test scenarios, with a significant majority (96%) favoring dissimilar test sets. Interestingly, two out of four chatbots mirrored this preference, aligning with human intuition, while the others opted for similar test scenarios, chosen by only 3.9% of testers. Our initial insights suggest a promising avenue within the context of enhancing the collaborative dynamics between testers and chatbots.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。