Can Coding Agents Write and Transpile Unit Tests

arXiv:2611.21797v1 Announce Type: cross
Abstract: Coding assistants built on Large Language Models (LLMs) have become a staple of modern software development, increasingly trusted to execute workflows and modernize code end-to-end. Much of this trust rests on passing tests, which are often written by the coding agents themselves. In this work, we examine the ability of these agents to both write reliable tests and translate them between programming languages. We benchmark three popular coding agents, each evaluated with a native frontier model and high reasoning effort. Verifying across a broad suite of metrics, we find that coding agents far exceed human written suites on traditional measures of coverage. This advantage, however, is uneven: agent test quality degrades sharply with project size, and much of the advantage lies in a greater number of written tests. We also show that agentic test translation—while seemingly strong in aggregate—remains inconsistent and unreliable.
This article has been indexed from cs.AI updates on arXiv.org

Read the original article:

Can Coding Agents Write and Transpile Unit Tests