TDD-Bench Verified: Can LLMs Generate Tests for Issues Before They Get Resolved?
Not on the map. Why?
Cited by 21 in LLM agents and tool use, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
Test-driven development (TDD) is the practice of writing tests first and coding later, and the proponents of TDD expound its numerous benefits. For instance, given an issue on a source code repository, tests can clarify the desired behavior among stake-holders before anyone writes code for the agreed-upon fix. Although there has been a lot of work on automated test generation for the practice "write code first, test later", there has been little such automation for TDD. Ideally, tests for TDD should be fail-to-pass (i.e., fail before the issue is resolved and pass after) and have good adequacy with respect to covering the code changed during issue resolution. This paper introduces TDD-Bench Verified, a high-quality benchmark suite of 449 issues mined from real-world GitHub code repositories. The benchmark's evaluation harness runs only relevant tests in isolation for simple yet accurate coverage measurements, and the benchmark's dataset is filtered both by human judges and by execution in the harness. This paper also presents Auto-TDD, an LLM-based solution that takes as input an issue description and a codebase (prior to issue resolution) and returns as output a test that can be used to validate the changes made for resolving the issue. Our evaluation shows that Auto-TDD yields a better fail-to-pass rate than the strongest prior work while also yielding high coverage adequacy. Overall, we hope that this work helps make developers more productive at resolving issues while simultaneously leading to more robust fixes.
Key facts. Cited by 32 papers in the map (data through 7 Oct 2026). Builds on 26 of its 54 references that are in the map. First posted on arXiv 3 Dec 2024.
Builds on
26 of 54 references.
References · 26
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2023Instruction Tuning with GPT-4cited by 676
- 2023Instruction Tuning for Large Language Models: A Surveycited by 617
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 400
- 2024SWE-bench Multimodal: Do AI Systems Generalize to Visual Software Domains?cited by 196
- 2024MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolutioncited by 132
- 2024SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agentscited by 129
- 2020Unit Test Case Generation with Transformers and Focal Contextcited by 118
14 more
- 2024SWE-Bench+: Enhanced Coding Benchmark for LLMscited by 95
- 2024CodeR: Issue Resolving with Multi-Agent and Task Graphscited by 89
- 2024SpecRover: Code Intent Extraction via LLMscited by 71
- 2021AVATAR: A Parallel Corpus for Java-Python Program Translationcited by 59
- 2024Alibaba LingmaAgent: Improving Automated Issue Resolution via Comprehensive Repository Explorationcited by 58
- 2024MASAI: Modular Architecture for Software-engineering AI Agentscited by 49
- 2024TestGenEval: A Real World Unit Test Generation and Test Completion Benchmarkcited by 49
- 2022Code Generation Tools (Almost) for Free? A Study of Few-Shot, Pre-Trained Language Models on Codecited by 39
- 2024TESTEVAL: Benchmarking Large Language Models for Test Case Generationcited by 38
- 2024SWE-bench-java: A GitHub Issue Resolving Benchmark for Javacited by 34
- 2023Can Large Language Models Write Good Property-Based Tests?cited by 30
- 2024PyBench: Evaluating LLM Agent on various real-world coding taskscited by 24
- 2024ASTER: Natural and Multi-language Unit Test Generation with LLMscited by 9
- 2024Can Github issues be solved with Tree Of Thoughts?cited by 3
Built on by
Citing papers per year: 2025: 17; 2026: 15.
32 papers.
Sort:
By area:
- 2025Survey on Evaluation of LLM-based Agentscited by 190
- 2025Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectoriescited by 75
- 2025Otter: Generating Tests from Issues to Validate SWE Patchescited by 24
- 2025GSO: Challenging Software Optimization Tasks for Evaluating SWE-Agentscited by 24
- 2025HardTests: Synthesizing High-Quality Test Cases for LLM Codingcited by 22
- 2025Agentic Bug Reproduction for Effective Automated Program Repair at Googlecited by 20
- 2026Self-Improvements in Modern Agentic Systems: A Surveycited by 17
- 2025Understanding Automated Program Repair Agents Through the Lens of Traceability: An Empirical Studycited by 16
- 2025FaultLine: Automated Proof-of-Vulnerability Generation Using LLM Agentscited by 11
- 2025Scoring Verifiers: Evaluating Synthetic Verification for Code and Reasoningcited by 8
- 2025SeaView: Software Engineering Agent Visual Interface for Enhanced Workflowcited by 7
- 2025InfCode: Adversarial Iterative Refinement of Tests and Patches for Reliable Software Issue Resolutioncited by 7
20 more
- 2025Agentic Software Issue Resolution with Large Language Models: A Surveycited by 6
- 2026Dynamic Cogeneration of Bug Reproduction Test in Agentic Program Repaircited by 6
- 2025TDFlow: Agentic Workflows for Test Driven Developmentcited by 5
- 2026Are Coding Agents Generating Over-Mocked Tests? An Empirical Studycited by 5
- 2026TestExplora: Benchmarking LLMs for Proactive Bug Discovery via Repository-Level Test Generationcited by 5
- 2025How Many Code and Test Cases Are Enough? Evaluating Test Cases Generation from a Binary-Matrix Perspectivecited by 4
- 2025Investigating Test Overfitting on SWE-benchcited by 4
- 2026SWE-Tester: Training Open-Source LLMs for Issue Reproduction in Real-World Repositoriescited by 4
- 2026From Plan to Action: How Well Do Agents Follow the Plan?cited by 4
- 2026SWE-Doctor: Guiding Software Engineering Agents with Runtime Diagnosis from Multi-Faceted Bug Reproduction Testscited by 4
- 2025CoreCodeBench: Decoupling Code Intelligence via Fine-Grained Repository-Level Taskscited by 3
- 2025Empowering Real-World: A Survey on the Technology, Practice, and Evaluation of LLM-driven Industry Agentscited by 2
- 2026Resolving Java Code Repository Issues with iSWE Agentcited by 1
- 2026Breaking, Stale, or Missing? Benchmarking Coding Agents on Project-Level Test Evolutioncited by 1
- 2026Unlocking Model Potentials Through Adaptive Multi-Agent Scaffolding for Efficient Issue Resolutioncited by 1
- 2026EvoOtter: Evolutionary Reproduction Test Generatorcited by 1
- 2026Evaluating LLM Agents on Automated Software Analysis Taskscited by 0
- 2026DPIAgent: Divide, Protocol, Isolate for Agentic Reproduction Test Generationcited by 0
- 2026ExecCritic: Learn to Test, Test to Improve for Coding Agentscited by 0
- 2026Test-Driven Approaches to Software Engineering with Large Language Models: A Survey of Phases, Tasks, and Agent Skillscited by 0
- 2026Test-Driven Approaches to Software Engineering with Large Language Models: A Survey of Phases, Tasks, and Agent Skills10 Sep 2026
- 2026ExecCritic: Learn to Test, Test to Improve for Coding Agents8 Sep 2026
- 2026DPIAgent: Divide, Protocol, Isolate for Agentic Reproduction Test Generation24 Aug 2026
- 2026Self-Improvements in Modern Agentic Systems: A Survey14 Jul 2026
- 2026EvoOtter: Evolutionary Reproduction Test Generator3 Jul 2026
- 2026SWE-Doctor: Guiding Software Engineering Agents with Runtime Diagnosis from Multi-Faceted Bug Reproduction Tests1 Jul 2026
- 2026Unlocking Model Potentials Through Adaptive Multi-Agent Scaffolding for Efficient Issue Resolution24 Jun 2026
- 2026Breaking, Stale, or Missing? Benchmarking Coding Agents on Project-Level Test Evolution7 May 2026
- 2026From Plan to Action: How Well Do Agents Follow the Plan?13 Apr 2026
- 2026Evaluating LLM Agents on Automated Software Analysis Tasks13 Apr 2026
- 2026Resolving Java Code Repository Issues with iSWE Agent11 Mar 2026
- 2026TestExplora: Benchmarking LLMs for Proactive Bug Discovery via Repository-Level Test Generation11 Feb 2026
20 more
- 2026Are Coding Agents Generating Over-Mocked Tests? An Empirical Study30 Jan 2026
- 2026Dynamic Cogeneration of Bug Reproduction Test in Agentic Program Repair27 Jan 2026
- 2026SWE-Tester: Training Open-Source LLMs for Issue Reproduction in Real-World Repositories20 Jan 2026
- 2025Agentic Software Issue Resolution with Large Language Models: A Survey24 Dec 2025
- 2025Investigating Test Overfitting on SWE-bench20 Nov 2025
- 2025InfCode: Adversarial Iterative Refinement of Tests and Patches for Reliable Software Issue Resolution20 Nov 2025
- 2025TDFlow: Agentic Workflows for Test Driven Development27 Oct 2025
- 2025Empowering Real-World: A Survey on the Technology, Practice, and Evaluation of LLM-driven Industry Agents20 Oct 2025
- 2025How Many Code and Test Cases Are Enough? Evaluating Test Cases Generation from a Binary-Matrix Perspective9 Oct 2025
- 2025FaultLine: Automated Proof-of-Vulnerability Generation Using LLM Agents21 Jul 2025
- 2025CoreCodeBench: Decoupling Code Intelligence via Fine-Grained Repository-Level Tasks4 Jul 2025
- 2025Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectories23 Jun 2025
- 2025Understanding Automated Program Repair Agents Through the Lens of Traceability: An Empirical Study10 Jun 2025
- 2025HardTests: Synthesizing High-Quality Test Cases for LLM Coding30 May 2025
- 2025GSO: Challenging Software Optimization Tasks for Evaluating SWE-Agents29 May 2025
- 2025SeaView: Software Engineering Agent Visual Interface for Enhanced Workflow11 Apr 2025
- 2025Survey on Evaluation of LLM-based Agents20 Mar 2025
- 2025Scoring Verifiers: Evaluating Synthetic Verification for Code and Reasoning19 Feb 2025
- 2025Otter: Generating Tests from Issues to Validate SWE Patches7 Feb 2025
- 2025Agentic Bug Reproduction for Effective Automated Program Repair at Google3 Feb 2025
- 2025Survey on Evaluation of LLM-based Agentscited by 190
- 2025GSO: Challenging Software Optimization Tasks for Evaluating SWE-Agentscited by 24
- 2025Agentic Bug Reproduction for Effective Automated Program Repair at Googlecited by 20
- 2026Self-Improvements in Modern Agentic Systems: A Surveycited by 17
- 2025Understanding Automated Program Repair Agents Through the Lens of Traceability: An Empirical Studycited by 16
- 2025FaultLine: Automated Proof-of-Vulnerability Generation Using LLM Agentscited by 11
- 2025SeaView: Software Engineering Agent Visual Interface for Enhanced Workflowcited by 7
- 2025Agentic Software Issue Resolution with Large Language Models: A Surveycited by 6
- 2026Dynamic Cogeneration of Bug Reproduction Test in Agentic Program Repaircited by 6
- 2025TDFlow: Agentic Workflows for Test Driven Developmentcited by 5
- 2026Are Coding Agents Generating Over-Mocked Tests? An Empirical Studycited by 5
- 2026From Plan to Action: How Well Do Agents Follow the Plan?cited by 4
12 most cited of 19 All 19 (JSON)
- 2026Test-Driven Approaches to Software Engineering with Large Language Models: A Survey of Phases, Tasks, and Agent Skills10 Sep 2026
- 2026ExecCritic: Learn to Test, Test to Improve for Coding Agents8 Sep 2026
- 2026DPIAgent: Divide, Protocol, Isolate for Agentic Reproduction Test Generation24 Aug 2026
- 2026Self-Improvements in Modern Agentic Systems: A Survey14 Jul 2026
- 2026SWE-Doctor: Guiding Software Engineering Agents with Runtime Diagnosis from Multi-Faceted Bug Reproduction Tests1 Jul 2026
- 2026Unlocking Model Potentials Through Adaptive Multi-Agent Scaffolding for Efficient Issue Resolution24 Jun 2026
- 2026Breaking, Stale, or Missing? Benchmarking Coding Agents on Project-Level Test Evolution7 May 2026
- 2026From Plan to Action: How Well Do Agents Follow the Plan?13 Apr 2026
- 2026Evaluating LLM Agents on Automated Software Analysis Tasks13 Apr 2026
- 2026Are Coding Agents Generating Over-Mocked Tests? An Empirical Study30 Jan 2026
- 2026Dynamic Cogeneration of Bug Reproduction Test in Agentic Program Repair27 Jan 2026
- 2025Agentic Software Issue Resolution with Large Language Models: A Survey24 Dec 2025
12 newest of 19 All 19 (JSON)
- 2025Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectoriescited by 75
- 2025HardTests: Synthesizing High-Quality Test Cases for LLM Codingcited by 22
- 2025Scoring Verifiers: Evaluating Synthetic Verification for Code and Reasoningcited by 8
- 2025Empowering Real-World: A Survey on the Technology, Practice, and Evaluation of LLM-driven Industry Agentscited by 2
- 2025Empowering Real-World: A Survey on the Technology, Practice, and Evaluation of LLM-driven Industry Agents20 Oct 2025
- 2025Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectories23 Jun 2025
- 2025HardTests: Synthesizing High-Quality Test Cases for LLM Coding30 May 2025
- 2025Scoring Verifiers: Evaluating Synthetic Verification for Code and Reasoning19 Feb 2025
- 2025Otter: Generating Tests from Issues to Validate SWE Patchescited by 24
- 2025InfCode: Adversarial Iterative Refinement of Tests and Patches for Reliable Software Issue Resolutioncited by 7
- 2026TestExplora: Benchmarking LLMs for Proactive Bug Discovery via Repository-Level Test Generationcited by 5
- 2025How Many Code and Test Cases Are Enough? Evaluating Test Cases Generation from a Binary-Matrix Perspectivecited by 4
- 2025Investigating Test Overfitting on SWE-benchcited by 4
- 2026SWE-Tester: Training Open-Source LLMs for Issue Reproduction in Real-World Repositoriescited by 4
- 2025CoreCodeBench: Decoupling Code Intelligence via Fine-Grained Repository-Level Taskscited by 3
- 2026Resolving Java Code Repository Issues with iSWE Agentcited by 1
- 2026EvoOtter: Evolutionary Reproduction Test Generatorcited by 1
- 2026EvoOtter: Evolutionary Reproduction Test Generator3 Jul 2026
- 2026Resolving Java Code Repository Issues with iSWE Agent11 Mar 2026
- 2026TestExplora: Benchmarking LLMs for Proactive Bug Discovery via Repository-Level Test Generation11 Feb 2026
- 2026SWE-Tester: Training Open-Source LLMs for Issue Reproduction in Real-World Repositories20 Jan 2026
- 2025Investigating Test Overfitting on SWE-bench20 Nov 2025
- 2025InfCode: Adversarial Iterative Refinement of Tests and Patches for Reliable Software Issue Resolution20 Nov 2025
- 2025How Many Code and Test Cases Are Enough? Evaluating Test Cases Generation from a Binary-Matrix Perspective9 Oct 2025
- 2025CoreCodeBench: Decoupling Code Intelligence via Fine-Grained Repository-Level Tasks4 Jul 2025
- 2025Otter: Generating Tests from Issues to Validate SWE Patches7 Feb 2025