🤖 AI Summary
This study addresses the lack of explicit justification in AI-generated test cases, which hinders engineers’ ability to understand and evaluate their rationale. To bridge this gap, the work introduces argumentation structures into AI-based test generation for the first time, proposing a conceptual taxonomy and a structured template grounded in four core elements: test objectives, claims, reasons, and evidence. By integrating conceptual modeling with argumentation theory, the approach establishes an interpretable test generation framework that standardizes the articulation of justifications. This mechanism substantially enhances the understandability, traceability, and trustworthiness of AI-generated test cases, enabling more effective human review and validation in software testing processes.
📝 Abstract
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.