mlsanityData to 24 Nov 2026

Can Coding Agents Write and Transpile Unit Tests

arXiv 2611.21797 ↗Submitted 16 Nov 2026Announced 18 Nov 2026cs.SE cs.AIcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 26 of its 37 references that are in the map. Submitted 16 Nov 2026, announced 18 Nov 2026.

Builds on

26 of 37 references.

Closest ancestors · 2

Same direction, newest first

  1. 2026LegacyTranslate: LLM-based Multi-Agent Method for Legacy Code Translation14 Mar
  2. 2024SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents18 Jun

Other references · 24

  1. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
  2. 2023An Empirical Evaluation of Using Large Language Models for Automated Unit Test Generationcited by 200
  3. 2022Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproductioncited by 115
  4. 2023ChatUniTest: A Framework for LLM-Based Test Generationcited by 100
  5. 2024Automated Unit Test Improvement using Large Language Models at Metacited by 80
  6. 2024Code-Aware Prompting: A study of Coverage Guided Test Generation in Regression Setting using LLMcited by 68
  7. 2024TestGenEval: A Real World Unit Test Generation and Test Completion Benchmarkcited by 59
  8. 2023Effective Test Generation Using Pre-trained Large Language Models and Mutation Testingcited by 57
  9. 2023Using Large Language Models to Generate JUnit Tests: An Empirical Studycited by 54
  10. 2024TESTEVAL: Benchmarking Large Language Models for Test Case Generationcited by 42
  11. 2024HITS: High-coverage LLM-based Unit Test Generation via Method Slicingcited by 40
  12. 2024On the Evaluation of Large Language Models in Unit Test Generationcited by 36
12 more
  1. 2025CRUST-Bench: A Comprehensive Benchmark for C-to-safe-Rust Transpilationcited by 22
  2. 2024TestBench: Evaluating Class-Level Test Case Generation Capability of Large Language Modelscited by 17
  3. 2024Leveraging Large Language Models for Enhancing the Understandability of Generated Unit Testscited by 13
  4. 2025LLM Test Generation via Iterative Hybrid Program Analysiscited by 10
  5. 2025Test Wars: A Comparative Study of SBST, Symbolic Execution, and LLM-Based Approaches to Unit Test Generationcited by 9
  6. 2025Benchmarking LLMs for Unit Test Generation from Real-World Functionscited by 9
  7. 2026SWE-Mutation: Can LLMs Generate Reliable Test Suites in Software Engineering?cited by 9
  8. 2023Lost in Translation: A Study of Bugs Introduced by Large Language Models while Translating Codecited by 5
  9. 2026On the risk of coding before testing: An empirical study on LLM-based test generation workflowcited by 5
  10. 2026Evaluating LLM-Based Test Generation Under Software Evolutioncited by 3
  11. 2026Testing Framework Migration with Large Language Modelscited by 2
  12. 2026LLMs taking shortcuts in test generation: A study with SAP HANA and LevelDBcited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Rethinking the Value of Agent-Generated Tests for LLM-Based Software Engineering Agents
  2. 2026Are Coding Agents Generating Over-Mocked Tests? An Empirical Study
  3. 2026Grounding AI Agents in Contracts: An Empirical Evaluation of Spec-Driven Test Generation
  4. 2026The End of Code Review: Coding Agents Supersede Human Inspection
  5. 2026Latent Programming Horizons in Coding Agents
  6. 2026AgentSWE: Can Coding Agents Build the Agent You Actually Want?
  7. 2026Frontier Coding Agents Use Metaprogramming to Adapt to Unfamiliar Programming Languages
  8. 2023AgentCoder: Multi-Agent-based Code Generation with Iterative Testing and Optimisation