Large Language Models for Software Testing: A Research Roadmap
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) are starting to be profiled as one of the most significant disruptions in the Software Testing field. Specifically, they have been successfully applied in software testing tasks such as generating test code, or summarizing documentation. This potential has attracted hundreds of researchers, resulting in dozens of new contributions every month, hardening researchers to stay at the forefront of the wave. Still, to the best of our knowledge, no prior work has provided a structured vision of the progress and most relevant research trends in LLM-based testing. In this article, we aim to provide a roadmap that illustrates its current state, grouping the contributions into different categories, and also sketching the most promising and active research directions for the field. To achieve this objective, we have conducted a semi-systematic literature review, collecting articles and mapping them into the most prominent categories, reviewing the current and ongoing status, and analyzing the open challenges of LLM-based software testing. Lastly, we have outlined several expected long-term impacts of LLMs over the whole software testing field.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 62 of its 151 references that are in the map. First posted on arXiv 29 Sep 2025.
Builds on
62 of 151 references.
References · 62
- 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 639
- 2022CodeT: Code Generation with Generated Testscited by 384
- 2023An Empirical Evaluation of Using Large Language Models for Automated Unit Test Generationcited by 194
- 2023Software Testing with Large Language Models: Survey, Landscape, and Visioncited by 166
- 2024Seven Failure Points When Engineering a Retrieval Augmented Generation Systemcited by 139
- 2020Unit Test Case Generation with Transformers and Focal Contextcited by 118
- 2022Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproductioncited by 111
- 2023ChatUniTest: A Framework for LLM-Based Test Generationcited by 96
- 2023Getting pwn'd by AI: Penetration Testing with Large Language Modelscited by 83
- 2024Formal Mathematical Reasoning: A New Frontier in AIcited by 81
- 2024Automated Unit Test Improvement using Large Language Models at Metacited by 75
- 2024Hypothesis Generation with Large Language Modelscited by 71
38 more
- 2023Towards an Understanding of Large Language Models in Software Engineering Taskscited by 68
- 2022Out of the BLEU: how should we assess quality of the Code Generation models?cited by 65
- 2024Code-Aware Prompting: A study of Coverage Guided Test Generation in Regression Setting using LLMcited by 64
- 2021TOGA: A Neural Method for Test Oracle Generationcited by 57
- 2023Can Large Language Models Transform Natural Language Intent into Formal Method Postconditions?cited by 57
- 2023Using Large Language Models to Generate JUnit Tests: An Empirical Studycited by 53
- 2024SpecGen: Automated Generation of Formal Program Specifications via Large Language Modelscited by 53
- 2024You Name It, I Run It: An LLM Agent to Execute Tests of Arbitrary Projectscited by 47
- 2020On Learning Meaningful Assert Statements for Unit Test Casescited by 42
- 2023Make LLM a Testing Expert: Bringing Human-like Interaction to Mobile GUI Testing via Functionality-aware Decisionscited by 41
- 2024CoverUp: Effective High Coverage Test Generation for Pythoncited by 38
- 2024HITS: High-coverage LLM-based Unit Test Generation via Method Slicingcited by 38
- 2022Fill in the Blank: Context-aware Automated Text Input Generation for Mobile GUI Testingcited by 36
- 2024On the Evaluation of Large Language Models in Unit Test Generationcited by 34
- 2023Navigating the Complexity of Generative AI Adoption in Software Engineeringcited by 32
- 2023Learning Deep Semantics for Test Completioncited by 31
- 2023Can Large Language Models Write Good Property-Based Tests?cited by 31
- 2020Generating Accurate Assert Statements for Unit Test Cases using Pretrained Transformerscited by 30
- 2023CAT-LM: Training Language Models on Aligned Code And Testscited by 28
- 2024TOGLL: Correct and Strong Test Oracle Generation with LLMscited by 24
- 2023Leveraging Large Language Models to Improve REST API Testingcited by 20
- 2023LLM for Test Script Generation and Migration: Challenges, Capabilities, and Opportunitiescited by 19
- 2025The Prompt Alchemist: Automated LLM-Tailored Prompt Optimization for Test Case Generationcited by 16
- 2023LLM4VV: Developing LLM-Driven Testsuite for Compiler Validationcited by 15
- 2024A Large-scale Empirical Study on Fine-tuning Large Language Models for Unit Testingcited by 15
- 2022"It would work for me too": How Online Communities Shape Software Developers' Trust in AI-Powered Code Generation Toolscited by 14
- 2023Unit Test Generation using Generative AI : A Comparative Performance Analysis of Autogeneration Toolscited by 13
- 2024Test Oracle Automation in the era of LLMscited by 11
- 2024Do LLMs generate test oracles that capture the actual or the expected program behaviour?cited by 11
- 2024Advancing Code Coverage: Incorporating Program Analysis with Large Language Modelscited by 9
- 2024ASTER: Natural and Multi-language Unit Test Generation with LLMscited by 9
- 2023Towards More Realistic Evaluation for Neural Test Oracle Generationcited by 8
- 2023Assessing Evaluation Metrics for Neural Test Oracle Generationcited by 7
- 2024Comprehensive Evaluation and Insights into the Use of Large Language Models in the Automation of Behavior-Driven Development Acceptance Test Formulationcited by 7
- 2025AsserT5: Test Assertion Generation Using a Fine-Tuned Code Language Modelcited by 7
- 2023FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categories and Test Code Repaircited by 6
- 2024Feature-Driven End-To-End Test Generationcited by 6
- 2024MR-Adopt: Automatic Deduction of Input Transformation Function for Metamorphic Testingcited by 6
50 most cited of 62 All 62 (JSON)
Built on by
Citing papers per year: 2026: 2.
2 papers.