Vibeleaderboard
← All Intel
Intel / article

TestSuiteBench: Coding Agents Struggle to Generate Strong Test Suites from Specifications

Source
arxiv.org
Author
Kazuki Egashira, Niels M\"undler-Sasahara, Mark Niklas M\"uller, Martin Vechev
Date
From the Daily Brief

TestSuiteBench, from Kazuki Egashira, Martin Vechev and colleagues, asks a different question from most coding benchmarks: can an agent write tests strong enough to catch bugs from a specification alone? Each generated suite is run against mutated versions of the reference implementation, and the score is the share of mutants it detects. The gap the authors report is the important part. Most of the agents' tests were valid, with 88% passing on the correct implementation, yet the suites still missed more than 40% of injected faults. A suite that is green and plausible-looking can therefore be weak evidence that code is correct. If agents write both your code and your tests, measure test strength directly, for example with mutation testing, before treating those tests as a safety net for later agent changes.

Read the 2026-10-13 Brief →

Context

Tests that pass on working software can still miss broken behavior. TestSuiteBench measures that gap across 165 applications by asking coding agents to generate tests from detailed specifications. Researchers then run those tests against deliberately altered implementations, each designed to violate a requirement.

The strongest tested detected 55.5% of those faulty variants, even though 96.1% of its generated tests passed on the reference implementations. Passing establishes that a test accepts expected behavior; detecting a faulty variant establishes that it rejects a particular defect. The exposes a substantial gap between those two abilities.

Key takeaways · AI-distilled
  • Each of the 165 apps ships with a structured specification, a reference implementation, a reference test suite and about 74 mutants on average. Each mutant isolates one requirement: 73% are killed by exactly one reference test, so a missed mutant flags an untested requirement.
  • The authors find agent-generated suites are smaller than the reference suites and often lack relevant input combinations, which is how suites can be largely valid on the reference implementation yet still score below 60% on mutation kills.
  • Implementations generated from the same specifications pass 82% of the reference tests. The authors conclude agents can build software they cannot verify, a gap they say directly limits fully autonomous software development.
Terms in this piece · Glossary
  • Agent — A system in which a model repeatedly chooses operations, a harness carries them out, and the results return to the model to inform its next choice.
  • Benchmark — A fixed set of tasks with a stated way of scoring them, used to compare models or setups.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Recommended reads