LLM4TDD: Best Practices for Test Driven Development Using Large Language Models
Not on the map. Why?
Abstract (arXiv)
In today's society, we are becoming increasingly dependent on software systems. However, we also constantly witness the negative impacts of buggy software. Program synthesis aims to improve software correctness by automatically generating the program given an outline of the expected behavior. For decades, program synthesis has been an active research field, with recent approaches looking to incorporate Large Language Models to help generate code. This paper explores the concept of LLM4TDD, where we guide Large Language Models to generate code iteratively using a test-driven development methodology. We conduct an empirical evaluation using ChatGPT and coding problems from LeetCode to investigate the impact of different test, prompt and problem attributes on the efficacy of LLM4TDD.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 9 of its 30 references that are in the map. First posted on arXiv 7 Dec 2023.
Builds on
9 of 30 references.
References · 9
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 498
- 2022A Systematic Evaluation of Large Language Models of Codecited by 363
- 2023An Empirical Evaluation of Using Large Language Models for Automated Unit Test Generationcited by 194
- 2022Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproductioncited by 111
- 2018Mapping Language to Code in Programmatic Contextcited by 104
- 2023No Need to Lift a Finger Anymore? Assessing the Quality of Code Generation by ChatGPTcited by 47
- 2022Fill in the Blank: Context-aware Automated Text Input Generation for Mobile GUI Testingcited by 36
- 2023Learning Deep Semantics for Test Completioncited by 31
- 2021Toward Neural-Network-Guided Program Synthesis and Verificationcited by 2
Built on by
Citing papers per year: 2024: 1; 2025: 2; 2026: 1.
4 papers.
- 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 178
- 2025TENET: One Step Toward Test-Driven Development for Repository-Level Code Generationcited by 2
- 2025Experimental Analysis of Productive Interaction Strategy with ChatGPT: User Study on Function and Project-level Code Generation Taskscited 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
- 2025TENET: One Step Toward Test-Driven Development for Repository-Level Code Generation29 Sep 2025
- 2025Experimental Analysis of Productive Interaction Strategy with ChatGPT: User Study on Function and Project-level Code Generation Tasks6 Aug 2025
- 2024Large Language Model-Based Agents for Software Engineering: A Survey4 Sep 2024