<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>automated test generation &#8211; Science</title>
	<atom:link href="https://scienmag.com/tag/automated-test-generation/feed/" rel="self" type="application/rss+xml" />
	<link>https://scienmag.com</link>
	<description></description>
	<lastBuildDate>Mon, 19 Oct 2026 11:42:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>

<image>
	<url>https://scienmag.com/wp-content/uploads/2024/07/cropped-scienmag_ico-32x32.jpg</url>
	<title>automated test generation &#8211; Science</title>
	<link>https://scienmag.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">73899611</site>	<item>
		<title>AI Agents Learn to Write Acceptance Tests That Actually Catch Software Bugs</title>
		<link>https://scienmag.com/ai-agents-learn-to-write-acceptance-tests-that-actually-catch-software-bugs/</link>
		
		<dc:creator><![CDATA[Denise Maddox]]></dc:creator>
		<pubDate>Mon, 19 Oct 2026 11:42:37 +0000</pubDate>
				<category><![CDATA[Science News]]></category>
		<category><![CDATA[Technology and Engineering]]></category>
		<category><![CDATA[acceptance]]></category>
		<category><![CDATA[acceptance testing]]></category>
		<category><![CDATA[agent-based testing workflows]]></category>
		<category><![CDATA[agents]]></category>
		<category><![CDATA[AI-driven acceptance test generation]]></category>
		<category><![CDATA[automated test generation]]></category>
		<category><![CDATA[challenges of interpreting ambiguous software requirements]]></category>
		<category><![CDATA[distinction between behavioral compatibility and fault detection]]></category>
		<category><![CDATA[evaluating AI effectiveness in software quality assurance]]></category>
		<category><![CDATA[executable acceptance tests]]></category>
		<category><![CDATA[execution-grounded]]></category>
		<category><![CDATA[grounding AI-generated tests in actual execution]]></category>
		<category><![CDATA[improving defect detection in software testing]]></category>
		<category><![CDATA[language-model]]></category>
		<category><![CDATA[large language models]]></category>
		<category><![CDATA[large language models for testing]]></category>
		<category><![CDATA[limitations of AI in software testing]]></category>
		<category><![CDATA[mutation testing]]></category>
		<category><![CDATA[ReqTestAgent]]></category>
		<category><![CDATA[ReqTestAgent framework]]></category>
		<category><![CDATA[requirement ambiguity]]></category>
		<category><![CDATA[software engineering]]></category>
		<category><![CDATA[software requirement ambiguity]]></category>
		<category><![CDATA[testing]]></category>
		<guid isPermaLink="false">https://scienmag.com/?p=312044</guid>

					<description><![CDATA[A new agent workflow grounds AI-generated acceptance tests in canonical execution and mutation testing, revealing that verification is the difference between tests that look right and tests that actually catch bugs.]]></description>
										<content:encoded><![CDATA[<p>Software requirements are notoriously slippery creatures. A sentence like &#8220;the system should respond quickly&#8221; can mean entirely different things to the product manager who wrote it, the developer who reads it, and the tester who must verify it. When large language models are asked to turn such ambiguous requirements into executable acceptance tests, they can produce test suites that look impressive but quietly encode the wrong interpretation of what the software is supposed to do. A new study published in Frontiers in Artificial Intelligence by Yunjiao Shi of The University of Hong Kong and Rui Song of the University of Cambridge confronts this problem head-on, presenting an agent-based workflow called ReqTestAgent that grounds every generated test in actual execution rather than in the model&#8217;s confident prose.</p>
<p>The core insight behind the research is a distinction that the authors argue is often blurred in evaluations of AI-generated tests: behavioral compatibility is not the same thing as fault-detection strength. A test suite might pass against a reference implementation, meaning it is compatible with accepted behavior, yet still be too weak to catch real defects. Conversely, a suite that fails the canonical implementation might be doing so because its assertions conflict with the accepted behavior rather than because it has detected a genuine fault. ReqTestAgent treats canonical compatibility as a prerequisite: only after generated tests pass against a reference implementation does the system interpret mutation-based measures of test strength. This ordering matters, because a mutation score computed on incompatible tests is essentially meaningless noise.</p>
<p>ReqTestAgent is an execution-grounded workflow that stitches together four components: requirement interpretation, retrieval of testing knowledge, test generation, and feedback from canonical execution and mutation testing. When a requirement arrives, the agent first produces an explicit interpretation record, documenting what it believes the requirement means. It then retrieves relevant testing knowledge to inform how the behavior should be probed, generates candidate test suites, and finally submits those suites to a feedback loop in which they are executed against a canonical implementation and evaluated with mutation testing. The interpretation records are linked to executable checks, creating an auditable chain from the model&#8217;s reading of a requirement to the assertions that verify it.</p>
<p>The evaluation design is unusually careful for this kind of study. The authors built 100 requirement instances from 25 tasks drawn from the Orchid and BigCodeBench benchmarks, and for each task they created four variants: lexical, semantic, syntactic, and vagueness. This structure lets them probe how different types of requirement ambiguity affect test generation. Crucially, the evaluator had access to a reference implementation, so the ground truth of what the software should do was available for checking. The comparison set included three generation baselines, their verifier-enhanced counterparts, and component ablations of ReqTestAgent itself, allowing the team to isolate which parts of the workflow actually contribute to performance.</p>
<p>The headline numbers are striking. The three generation baselines failed the canonical implementation on 51 to 68 percent of instances, meaning that more than half of the time, tests produced by straightforward language-model generation simply did not match accepted behavior. All verifier-enhanced methods, by contrast, achieved a 100 percent canonical pass rate, demonstrating that adding a verification step is sufficient to fix compatibility. But compatibility alone is not enough. ReqTestAgent achieved 92 percent qualified suites and a macro-averaged effective mutation score of 0.678, compared with 0.655 to 0.670 for the verifier-enhanced baselines. That gap is modest but consistent, and it points to something beyond verification that ReqTestAgent contributes to test quality.</p>
<p>The ablation results make the contribution of verification unmistakable. When the verification component was removed from ReqTestAgent, its effective mutation score collapsed to 0.216, a dramatic drop that shows execution feedback is the principal validity improvement in this controlled setting. Across all instance-mutant evaluations, ReqTestAgent killed 492 of 756 mutants, a pooled rate of 0.651 that weights instances by their mutant counts. Mutation testing works by introducing small artificial defects into the reference implementation and checking whether the test suite detects them, so a higher kill rate means the tests are genuinely probing behavior rather than merely executing code paths without meaningful assertions.</p>
<p>Perhaps the most illuminating part of the study is a comparative execution trace showing how explicit domain assertions detect faults that the verifier-enhanced baselines miss. The baselines, even with verification, tend to produce tests that pass against the canonical implementation but lack the specificity to distinguish subtly different behaviors. ReqTestAgent&#8217;s interpretation records, by contrast, push the model to commit to a particular reading of an ambiguous requirement and then encode that reading as concrete assertions. When those assertions are wrong, the canonical execution feedback reveals the mismatch; when they are right, they become powerful probes that catch mutants the baselines let slip through.</p>
<p>The implications reach beyond the benchmark. Acceptance testing is the point in software development where human intent meets executable code, and it is precisely where requirement ambiguity does the most damage. If language-model agents are to be trusted with generating tests from natural-language requirements, they need mechanisms that expose their interpretations and subject them to execution-based scrutiny. ReqTestAgent&#8217;s workflow links interpretation records to executable checks, creating a traceable path from the model&#8217;s reading of a requirement to the assertions that verify it. This kind of grounding could become a template for how AI agents handle other tasks where ambiguity is endemic, from legal document analysis to scientific data interpretation.</p>
<p>The study also establishes a methodological point that the authors argue should reshape how AI-generated tests are evaluated: canonical compatibility must be interpreted as a prerequisite for reading mutation-based test strength. A mutation score computed on a test suite that fails the canonical implementation conflates behavioral mismatch with fault detection, producing numbers that cannot be meaningfully compared across systems. By ordering evaluation so that compatibility is checked first and strength is measured only on compatible suites, the evaluation framework avoids this conflation. The authors suggest that this ordering should become standard practice in studies of automated test generation, where the temptation to report a single aggregate score can mask fundamental validity problems.</p>
<p>As language-model agents move deeper into software engineering workflows, the boundary between what a model believes a requirement means and what the software actually does becomes the critical fault line. ReqTestAgent demonstrates that execution feedback, rather than model self-assessment, provides the principal validity improvement in this setting. The workflow&#8217;s combination of explicit interpretation records, testing-knowledge retrieval, and canonical execution feedback offers a concrete answer to a question that will only grow more urgent as AI systems take on responsibility for verifying software behavior: how do you know that an agent&#8217;s test actually tests what you meant? The answer, this research suggests, is to make the agent commit to its interpretation, encode it as executable assertions, and then let the code itself have the final word.</p>
<p><strong>Subject of Research:</strong> An execution-grounded language-model agent workflow for generating acceptance tests from ambiguous software requirements, evaluated against canonical implementations and mutation testing benchmarks.</p>
<p><strong>Article Title:</strong> ReqTestAgent: execution-grounded language-model agents for acceptance testing under requirement ambiguity</p>
<p><strong>Article References:</strong> Shi, Y., &amp; Song, R. (2026). ReqTestAgent: execution-grounded language-model agents for acceptance testing under requirement ambiguity. <em>Frontiers in Artificial Intelligence, 9</em>, Article 1960601. <a href="https://doi.org/10.3389/frai.2026.1960601" rel="noopener noreferrer">https://doi.org/10.3389/frai.2026.1960601</a></p>
<p><strong>Image Credits:</strong> AI Generated</p>
<p><strong>DOI:</strong> <a href="https://doi.org/10.3389/frai.2026.1960601" rel="noopener noreferrer">10.3389/frai.2026.1960601</a></p>
<p><strong>Keywords:</strong> large language models, acceptance testing, automated test generation, mutation testing, requirement ambiguity, software engineering, ReqTestAgent, execution-grounded, language-model, agents, acceptance, testing</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">312044</post-id>	</item>
	</channel>
</rss>
