arXivDaily arXiv每日学术速递 周一至周五更新
​通知:联邦节假日调休:哥伦布日 / 原住民日(Columbus Day / Indigenous Peoples' Day),今日(13日)无更新。
arXiv 2406.07021cs.SE

一种使用大型语言模型生成测试用例场景的工具

A Tool for Test Case Scenarios Generation Using Large Language Models

Abdul Malik Sami, Zeeshan Rasheed, Muhammad Waseem, Zheying Zhang, Herda Tomas, Pekka Abrahamsson

AI总结:

本文提出一个基于Web的工具,利用LLM智能体和提示工程,从史诗与用户故事中自动生成测试用例场景,以应对需求演变下高效测试的挑战。

摘要:

大型语言模型(LLMs)在软件工程(SE)中被广泛用于各种任务,包括生成代码、设计和记录软件、添加代码注释、审查代码以及编写测试脚本。然而,创建测试脚本或自动化测试用例需要全面覆盖功能需求的测试套件文档。此类文档必须能够在受限的范围和时间框架内实现充分测试,尤其是在需求和用户要求不断演变的情况下。本文聚焦于将用户需求生成为史诗(epics)和高层用户故事,并基于这些故事构建测试用例场景。文章介绍了一个基于Web的软件工具,该工具采用基于LLM的智能体和提示工程,针对用户需求自动化生成测试用例场景。

英文摘要:

Large Language Models (LLMs) are widely used in Software Engineering (SE) for various tasks, including generating code, designing and documenting software, adding code comments, reviewing code, and writing test scripts. However, creating test scripts or automating test cases demands test suite documentation that comprehensively covers functional requirements. Such documentation must enable thorough testing within a constrained scope and timeframe, particularly as requirements and user demands evolve. This article centers on generating user requirements as epics and high-level user stories and crafting test case scenarios based on these stories. It introduces a web-based software tool that employs an LLM-based agent and prompt engineering to automate the generation of test case scenarios against user requirements.

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

↑