arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.22473cs.SE
收藏

基于AI的测试生成中的测试设计与审查论证

Test Design and Review Argumentation in AI-Assisted Test Generation

Mälardalen University(马尔默达尔大学);Chalmers University of Technology(查尔姆斯理工大学);University of Gothenburg(哥德堡大学)

Eduard Paul Enoiu, Robert Feldt

AI总结:

本文提出了一种概念分类和结构模板,用于AI辅助测试生成,通过测试目标、主张、理由和证据来表征测试用例,旨在提升测试设计和审查过程中论证质量的评估。

摘要:

AI助手可以越来越多地生成和演变测试用例。挑战不再仅仅是生成它们,而是帮助工程师理解为什么生成的制品存在以及其支持依据。现有工作集中在分类测试技术、将需求与测试链接以及构建系统保证论点,但并未明确表示个别测试设计决策背后的论证。我们提出了一种概念分类和结构模板,用于AI辅助测试生成,通过测试目标、主张、理由和证据来表征测试用例。该分类旨在用于测试设计期间的构建使用和审查期间的回顾使用,以评估附带论证的质量,而不是生成测试用例的可信度或客观价值。

英文摘要:

AI assistants can increasingly generate and evolve test cases. The challenge is no longer merely to produce them, but also to help engineers understand why a generated artefact exists and what supports it. Existing work has focused on classifying testing techniques, linking requirements to tests and structuring system assurance arguments, but it does not explicitly represent the argumentation behind individual test design decisions. We propose a conceptual taxonomy and a structured template for AI-assisted test generation that characterizes a test case by its test goal, claim, reason, and evidence. The taxonomy is intended for both constructive use during test design and retrospective use during review, to assess the quality of the attached argument rather than the plausibility or objective value of the generated test cases.

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

↑