Software Testing With Large Language Models: Survey, Landscape, and Vision
Open accessThe DOI matches its Crossref record; 220 of the 222 references it cites were found in a registry or an index, and 2 are not checked yet.
Abstract
Pre-trained large language models (LLMs) have recently emerged as a breakthrough technology in natural language processing and artificial intelligence, with the ability to handle large-scale datasets and exhibit remarkable performance across a wide range of tasks. Meanwhile, software testing is a crucial undertaking that serves as a cornerstone for ensuring the quality and reliability of software products. As the scope and complexity of software systems continue to grow, the need for more effective software testing techniques becomes increasingly urgent, making it an area ripe for innovative approaches such as the use of LLMs. This paper provides a comprehensive review of the utilization of LLMs in software testing. It analyzes 102 relevant studies that have used LLMs for software testing, from both the software testing and LLMs perspectives. The paper presents a detailed discussion of the software testing tasks for which LLMs are commonly used, among which test case preparation and program repair are the most representative. It also analyzes the commonly used LLMs, the types of prompt engineering that are employed, as well as the accompanied techniques with these LLMs. It also summarizes the key challenges and potential opportunities in this direction. This work can serve as a roadmap for future research in this area, highlighting potential avenues for exploration, and identifying gaps in our current understanding of the use of LLMs in software testing.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“ChatGPT is the most widely adopted LLM in code generation in the literature [15, 16, 23, 40, 42, 63, 70]”
From An Empirical Study of the Non-Determinism of ChatGPT in Code Generation (2025) · cites this paper as [63]
Experimental — accuracy not yet measuredThe check wasn’t confident either way, so it gives no verdict — never disputed.
In the citing paper
“We use SWE-bench because it unites many separate SE tasks, such as automated program repair [10, 40, 55], bug localization [4, 58], and testing [22, 46, 56] under a single task formulation that faithfully mirrors practical SE.”
From SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering (2024) · cites this paper as [46]
Experimental — accuracy not yet measuredIn the citing paper
“The attempts of the last years to automatically generate test cases and oracles with large language models [207] indicate a clear trend toward the use of large language models and deep neural networks to generate test cases.”
From A 2030 Roadmap for Software Engineering (2025) · cites this paper as [207]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Chain-Of-Thought Prompting Elicits Reasoning in Large Language Models
Wei, J., Wang, X., Schuurmans, D., Bosma, M., Ichter, B., Xia, F., Chi, E., Le, Q. V., & Zhou, D. (2022) · Advances in Neural Information Processing Systems 35 · doi:10.52202/068431-1800 · Cited by 4,505
Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
Wei, J., Wang, X., Schuurmans, D., Bosma, M., Ichter, B., Xia, F., Chi, E., Le, Q., & Zhou, D. (2022) · arXiv · doi:10.48550/arxiv.2201.11903 · Cited by 4,263
Wohlin, C. (2014) · Proceedings of the 18th International Conference on Evaluation and Assessment in Software Engineering · doi:10.1145/2601248.2601268 · Cited by 4,234 · cited 1×
“Next, to mitigate the risk of omitting relevant literature from this survey, we also perform backward snowballing [130] by inspecting the references cited by the collected papers so far.”
A Survey of Large Language Models
Zhao, W. X., Zhou, K., Li, J., Tang, T., Dong, Z., Hou, Y., Zhang, B., Min, Y., Zhang, J., Liu, P., et al. (2026) · Frontiers of Computer Science · doi:10.1007/s11704-026-60308-3 · Cited by 2,093 · cited 6×
“In other words, the LLMs discussed in this paper not only include models with parameters of over 10B (as mentioned in [17]) but also include other models that use the encoder-decoder and decoder-only network architecture (as mentioned in [24]), such as BART with 140M parameters and GPT-2 with…”
InfluentialSelf-citationA Survey of Large Language Models
Zhao, W. X., Zhou, K., Li, J., Tang, T., Wang, X., Hou, Y., Min, Y., Zhang, B., Zhang, J., Dong, Z., et al. (2023) · arXiv · doi:10.48550/arxiv.2303.18223 · Cited by 2,090 · cited 6×
“In other words, the LLMs discussed in this paper not only include models with parameters of over 10B (as mentioned in [17]) but also include other models that use the encoder-decoder and decoder-only network architecture (as mentioned in [24]), such as BART with 140M parameters and GPT-2 with…”
InfluentialSelf-citationLarge language models are zero-shot reasoners
Kojima, T., Gu, S. (., Reid, M., Matsuo, Y., & Iwasawa, Y. (2022) · Advances in Neural Information Processing Systems 35 · doi:10.52202/068431-1613 · Cited by 2,013 · cited 2×
“These models, initially pre-trained on extensive corpora, have exhibited remarkable performance across a wide range of NLP tasks including question-answering, machine translation, and text generation [16], [17], [18], [19].”
Large Language Models are Zero-Shot Reasoners
Kojima, T., Gu, S. S., Reid, M., Matsuo, Y., & Iwasawa, Y. (2022) · arXiv · doi:10.48550/arxiv.2205.11916 · Cited by 2,013 · cited 2×
“These models, initially pre-trained on extensive corpora, have exhibited remarkable performance across a wide range of NLP tasks including question-answering, machine translation, and text generation [16], [17], [18], [19].”
Unifying Large Language Models and Knowledge Graphs: A Roadmap
Pan, S., Luo, L., Wang, Y., Chen, C., Wang, J., & Wu, X. (2024) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2024.3352100 · Cited by 1,376 · cited 3×
“In another survey of unifying LLMs and knowledge graphs [24], the authors categorize the LLMs into three types: encoder-only (e.g., BERT), encoder-decoder (e.g., T5), and decoder-only network architecture (e.g., GPT-3).”
Self-citationLSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loop
Yu, F., Seff, A., Zhang, Y., Song, S., Funkhouser, T., & Xiao, J. (2015) · arXiv (Cornell University) · doi:10.48550/arxiv.1506.03365 · Cited by 1,245 · cited 1×
“This has been studied in traditional machine learning [153], but has not yet been explored with LLMs. Specifically, the LLMs can be responsible for automatically generating test cases, evaluating test coverage, etc, while human testers are responsible for checking the program’s behavior and…”
The oracle problem in software testing: A survey
Barr, E. T., Harman, M., McMinn, P., Shahbaz, M., & Yoo, S. (2015) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2014.2372785 · Cited by 1,104 · cited 1×
“A test oracle is a source of information about whether the output of a software system (or program or function or method) is correct or not [136].”
Research works printed but not linked: 7
- G. J. Myers, The art of software testing (2. ed.). Wiley, 2004. [Online]. Available: http://eu.wiley.com/WileyCDA/ WileyTitle/productCd-0471469122.html
- Y. Deng, J. Yao, Z. Tu, X. Zheng, M. Zhang, and T. Zhang, "Target: Automated scenario generation from traffic rules for testing autonomous vehicles," 2023. [Online]. Available: https://api.semanticscholar.org/CorpusID:258588387
- U. Mukherjee and M. M. Rahman, "Employing deep learning and structured information retrieval to answer clarification questions on bug reports," 2023. [Online]. Available: https://api.semanticscholar.org/CorpusID:259501524
- S. Kang, G. An, and S. Yoo, "A preliminary evaluation of llm-based fault localization," CoRR, vol. abs/2308.05487, 2023. [Online]. Available: https://doi.org/10.48550/arXiv.2308.05487 · DOI
- H. Tu, Z. Zhou, H. Jiang, I. N. B. Yusuf, Y. Li, and L. Jiang, "LLM4CBI: taming llms to generate effective test programs for compiler bug isolation," CoRR, vol. abs/2307.00593, 2023. [Online]. Available: https://doi.org/10.48550/arXiv.2307.00593 · DOI
- R. Kocielnik, S. Prabhumoye, V. Zhang, R. M. Alvarez, and A. Anandkumar, "Autobiastest: Controllable sentence generation for automated and open-ended social bias testing in language models," CoRR, vol. abs/2302.07371, 2023. [Online]. Available: https://doi.org/10.48550/arXiv.2302.07371 · DOI
- G. J. Myers, The art of software testing (2. ed.). Wiley, 2004. [Online]. Available: http://eu.wiley.com/WileyCDA/ WileyTitle/productCd-0471469122.html
Cited by
Large Language Models for Software Engineering: A Systematic Literature Review
Hou, X., Zhao, Y., Liu, Y., Yang, Z., Wang, K., Li, L., Luo, X., Lo, D., Grundy, J., & Wang, H. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3695988 · Cited by 1,029
“This phase primarily involved excluding papers that mentioned LLMs but did not directly apply them, such as papers that only discussed LLMs in future work or focused on evaluating the performance of LLM-enabled tools [328] (Exclusion criteria 8).”
BackgroundMethodInfluentialAn Empirical Study of the Non-Determinism of ChatGPT in Code Generation
Ouyang, S., Zhang, J. M., Harman, M., & Wang, M. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3697010 · Cited by 258
“Section 2 introduces the main procedure of our study.”
A survey on large language models for code generation
Jiang, J., Wang, F., Shen, J., Kim, S., & Kim, S. (2024) · arXiv · doi:10.48550/arxiv.2406.00515 · Cited by 257
A Survey on Large Language Models for Code Generation
Jiang, J., Wang, F., Shen, J., Kim, S., & Kim, S. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3747588 · Cited by 251
ChatUniTest: A Framework for LLM-Based Test Generation
Chen, Y., Hu, Z., Zhi, C., Han, J., Deng, S., & Yin, J. (2024) · Companion Proceedings of the 32nd ACM International Conference on the Foundations of Software Engineering · doi:10.1145/3663529.3663801 · Cited by 194
Casheekar, A., Lahiri, A., Rath, K., Prabhakar, K. S., & Srinivasan, K. (2024) · Computer Science Review · doi:10.1016/j.cosrev.2024.100632 · Cited by 211
Friha, O., Amine Ferrag, M., Kantarci, B., Cakmak, B., Ozgun, A., & Ghoualmi-Zine, N. (2024) · IEEE Open Journal of the Communications Society · doi:10.1109/ojcoms.2024.3456549 · Cited by 189
Hadi, M. U., tashi, Q. A., Qureshi, R., Shah, A., muneer, A., Irfan, M., Zafar, A., Shaikh, M. B., Akhtar, N., Wu, J., et al. (2023) · doi:10.36227/techrxiv.23589741.v4 · Cited by 103
Automated Unit Test Improvement using Large Language Models at Meta
Alshahwan, N., Chheda, J., Finogenova, A., Gokkaya, B., Harman, M., Harper, I., Marginean, A., Sengupta, S., & Wang, E. (2024) · Companion Proceedings of the 32nd ACM International Conference on the Foundations of Software Engineering · doi:10.1145/3663529.3663839 · Cited by 144
“A wide variety of LLMs have been used in previous work on problems relating to software testing, including BART, CodeBert, ChatGPT, CodeX, CodeT5, and T5 [12, 48].”
BackgroundMethodLarge Language Model for Vulnerability Detection and Repair: Literature Review and the Road Ahead
Zhou, X., Cao, S., Sun, X., & Lo, D. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3708522 · Cited by 132
“However, the literature lacks a formal consensus on the minimum parameter scale for LLMs [76].”
A Survey on the Memory Mechanism of Large Language Model based Agents
Zhang, Z., Bo, X., Ma, C., Li, R., Chen, X., Dai, Q., Zhu, J., Dong, Z., & Wen, J.-R. (2024) · arXiv · doi:10.48550/arxiv.2404.13501 · Cited by 149
“In addition, cognitive psychology has been studied for a long time, so many effective human memory theories and architectures have been accumulated, which can support more advanced capabilities of the agents [147].”
Generative AI in cybersecurity: A comprehensive review of LLM applications and vulnerabilities
Ferrag, M. A., Alwahedi, F., Battah, A., Cherif, B., Mechri, A., Tihanyi, N., Bisztray, T., & Debbah, M. (2025) · Internet of Things and Cyber-Physical Systems · doi:10.1016/j.iotcps.2025.01.001 · Cited by 148
How secure is AI-generated code: a large-scale comparison of large language models
Tihanyi, N., Bisztray, T., Ferrag, M. A., Jain, R., & Cordeiro, L. C. (2025) · Empirical Software Engineering · doi:10.1007/s10664-024-10590-1 · Cited by 133
“…code for SE are rapidly emerging, but the main focus mostly often functional correctness, omitting important security aspects (White et al. 2023; Yao et al. 2024; Wei et al. 2022), or reliability (Tihanyi et al. 2024; Mirzadeh et al. 2024; Honarvar et al. 2023; Wang et al. 2024; Liang et al. 2024).”
When ChatGPT Meets Smart Contract Vulnerability Detection: How Far Are We?
Chen, C., Su, J., Chen, J., Wang, Y., Bi, T., Yu, J., Wang, Y., Lin, X., Chen, T., & Zheng, Z. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3702973 · Cited by 85
“It directly returns the latest price from the priceFeed, which can be manipulated if the priceFeed oracle is compromised.”
Self-citationThe Prompt Report: A Systematic Survey of Prompt Engineering Techniques
Schulhoff, S., Ilie, M., Balepur, N., Kahadze, K., Liu, A., Si, C., Li, Y., Gupta, A., Han, H., Schulhoff, S., et al. (2024) · arXiv · doi:10.48550/arxiv.2406.06608 · Cited by 118
Deep learning-based software engineering: progress, challenges, and opportunities
Chen, X., Hu, X., Huang, Y., Jiang, H., Ji, W., Jiang, Y., Jiang, Y., Liu, B., Liu, H., Li, X., et al. (2024) · Science China Information Sciences · doi:10.1007/s11432-023-4127-5 · Cited by 153
Self-citationLarge Language Models for Software Engineering: A Systematic Literature Review
Hou, X., Zhao, Y., Liu, Y., Yang, Z., Wang, K., Li, L., Luo, X., Lo, D., Grundy, J., & Wang, H. (2023) · arXiv · doi:10.48550/arxiv.2308.10620 · Cited by 114
“This phase primarily involved excluding papers that mentioned LLMs but did not directly apply them, such as papers that only discussed LLMs in future work or focused on evaluating the performance of LLM-enabled tools [328] (Exclusion criteria 8).”
BackgroundMethodInfluentialLarge Language Model-Based Agents for Software Engineering: A Survey
Jun-wei, L., Wang, K., Chen, Y., Peng, X., Chen, Z., Zhang, L., & Lou, Y. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3796507 · Cited by 330
On the Evaluation of Large Language Models in Unit Test Generation
Yang, L., Yang, C., Gao, S., Wang, W., Wang, B., Zhu, Q., Chu, X., Zhou, J., Liang, G., Wang, Q., et al. (2024) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3691620.3695529 · Cited by 236
“Our study reveals that a significant percentage of unit tests generated by LLMs cannot be compiled successfully, thereby limiting their effectiveness in terms of both test coverage and defect detection.”
Self-citationWhen Software Security Meets Large Language Models: A Survey
Zhu, X., Zhou, W., Han, Q., Ma, W., Wen, S., & Xiang, Y. (2025) · IEEE/CAA Journal of Automatica Sinica · doi:10.1109/jas.2024.124971 · Cited by 128
An Empirical Study on Usage and Perceptions of LLMs in a Software Engineering Project
Rasnayaka, S., Wang, G., Shariffdeen, R., & Iyer, G. N. (2024) · Proceedings of the 1st International Workshop on Large Language Models for Code · doi:10.1145/3643795.3648379 · Cited by 70
“While [20] analyzes 52 relevant studies that have used LLMs for software testing, from both the software testing and LLMs perspectives.”
MethodCoverUp: Effective High Coverage Test Generation for Python
Pizzorno, J. A., & Berger, E. D. (2025) · Proceedings of the ACM on software engineering. · doi:10.1145/3729398 · Cited by 168
HITS: High-coverage LLM-based Unit Test Generation via Method Slicing
Wang, Z., Liu, K., Li, G., & Jin, Z. G. (2024) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3691620.3695501 · Cited by 202
“…have tried search-based software testing (SBST) methods[13, 20], symbolic execution exploring possible execution paths[3–5, 8], direct test generation with deep neural networks[14 , 23 , 28 Large language models (LLMs) have shown their potential to generate high-coverage unit tests[26, 29].”
MethodStarCoder 2 and The Stack v2: The Next Generation
Lozhkov, A., Li, R., Allal, L. B., Cassano, F., Lamy-Poirier, J., Tazi, N., Tang, A., Pykhtar, D., Liu, J., Wei, Y., et al. (2024) · arXiv · doi:10.48550/arxiv.2402.19173 · Cited by 74
A Systematic Literature Review on Large Language Models for Automated Program Repair
Zhang, Q., Fang, C., Xie, Y., Ma, Y., Sun, W., Yang, Y. J., & Chen, Z. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3799693 · Cited by 193
“Besides, Wang et al. [147] provide a review of LLMs in software testing; Fan et al. [32] discuss the achievements and challenges of LLMs in SE; Hou et al. [55] conduct a systematic literature review on LLM4SE.”
On the use of large language models in model-driven engineering
Rocco, J. D., Ruscio, D. D., Sipio, C. D., Nguyen, P. T., & Rubei, R. (2025) · Software & Systems Modeling · doi:10.1007/s10270-025-01263-8 · Cited by 111
“To name but a few, LLMs have been widely used in testing [83], code generation [55], qualitative research [11], summarization [32], or commit message generation [92].”
Copiloting the future: How generative AI transforms Software Engineering
Banh, L., Holldack, F., & Strobel, G. (2025) · Information and Software Technology · doi:10.1016/j.infsof.2025.107751 · Cited by 67
Toward Federated Large Language Models: Motivations, Methods, and Future Directions
Cheng, Y., Zhang, W., Zhang, Z., Zhang, C., Wang, S., & Mao, S. (2024) · IEEE Communications Surveys & Tutorials · doi:10.1109/comst.2024.3503680 · Cited by 107
“Several other works [44], [45], [46], [47] also provide detailed introductions to various aspects of LLMs. WhileFL and LLMs have been studied extensively in isolation within the existing literature, as far as we know, only a selected number of studies have conducted an in-depth analysis specifically…”
Self-citationThe future of AI-driven software engineering
Terragni, V., Vella, A., Roop, P., & Blincoe, K. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3715003 · Cited by 62
Hadi, M. U., tashi, Q. A., Qureshi, R., Shah, A., muneer, A., Irfan, M., Zafar, A., Shaikh, M. B., Akhtar, N., Wu, J., et al. (2023) · doi:10.36227/techrxiv.23589741.v3 · Cited by 53
Automated Root Causing of Cloud Incidents using In-Context Learning with GPT-4
Zhang, X., Ghosh, S., Bansal, C., Wang, R., Ma, M., Kang, Y., & Rajmohan, S. (2024) · Companion Proceedings of the 32nd ACM International Conference on the Foundations of Software Engineering · doi:10.1145/3663529.3663846 · Cited by 49
“To demonstrate the superiority of in-context learning, we conducted a comparison with the traditional retrieval augmentation method, which involved chunking historical incident details.”
Generative Artificial Intelligence for Software Engineering—A Research Agenda
Nguyen‐Duc, A., Cabrero‐Daniel, B., Przybylek, A., Arora, C., Khanna, D., Herda, T., Rafiq, U., Melegati, J., Guerra, E., Kemell, K., et al. (2025) · Software: Practice and Experience · doi:10.1002/spe.70005 · Cited by 60
“The existing studies only used four prompt engineering techniques so far, out of 12 [131].”
InfluentialParticipation in the age of foundation models
Suresh, H., Tseng, E., Young, M., Gray, M., Pierson, E., & Levy, K. (2024) · The 2024 ACM Conference on Fairness Accountability and Transparency · doi:10.1145/3630106.3658992 · Cited by 50
“These systems have spurred broad interest across industries including medicine [21, 62], software engineering [104], and education [38].”
BackgroundSWE-bench: Can Language Models Resolve Real-World GitHub Issues?
Jimenez, C. E., Yang, J., Wettig, A., Yao, S., Pei, K., Press, O., & Narasimhan, K. (2023) · arXiv · doi:10.48550/arxiv.2310.06770 · Cited by 72
“(2018), testing (Kang et al., 2023; Xia et al., 2023; Wang et al., 2023), and program repair (Monperrus, 2018; Gupta et al.”
BackgroundLarge Language Model-Based Agents for Software Engineering: A Survey
Liu, J., Wang, K., Chen, Y., Peng, X., Chen, Z., Zhang, L., & Lou, Y. (2024) · arXiv · doi:10.48550/arxiv.2409.02977 · Cited by 49
“In software engineering domain, there have been several surveys or literature reviews on the general application of LLMs in software engineering [2], [3], [10], [32], [33].”
Generative AI for software architecture. Applications, challenges, and future directions
Esposito, M., Li, X., Moreschini, S., Ahmad, N., Cerny, T., Vaidhyanathan, K., Lenarduzzi, V., & Taibi, D. (2025) · Journal of Systems and Software · doi:10.1016/j.jss.2025.112607 · Cited by 97
An Empirical Study on Challenges for LLM Application Developers
Chen, X., Gao, C., Chen, C., Zhang, G., & Liu, Y. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3715007 · Cited by 110
“Crawl relevant data from the forum”
InfluentialSelf-citationHDLdebugger: Streamlining HDL debugging with Large Language Models
Yao, X., Li, H., Chan, T., Xiao, W., Yuan, M., Huang, Y., Chen, L., & Yu, B. (2025) · ACM Transactions on Design Automation of Electronic Systems · doi:10.1145/3735638 · Cited by 96
Self-citationA Review of Large Language Models for Automated Test Case Generation
Celik, A., & Mahmoud, Q. H. (2025) · Machine Learning and Knowledge Extraction · doi:10.3390/make7030097 · Cited by 73
“Large language models (LLMs) have sparked significant interest in recent years and have been seen as promising coding assistants, especially in automated test case generation, because of their ability to understand natural language requirements and generate relevant code [8,9].”
InfluentialShi, J., Yang, Z., & Lo, D. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3708525 · Cited by 43
“Recent advances in large language models (LLMs) have spurred their widespread adoption in various fields, notably within software engineering [8, 27, 34, 48, 131, 152, 156].”
Evaluating large language models for software testing
Li, Y., Liu, P., Wang, H., Chu, J., & Wong, W. E. (2025) · Computer Standards & Interfaces · doi:10.1016/j.csi.2024.103942 · Cited by 42
Test Oracle Automation in the Era of LLMs
Molina, F., Gorla, A., & d’Amorim, M. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3715107 · Cited by 73
“The majority of studies in the literature that utilize LLMs for software testing tasks, as well as for other applications in general, concentrate on two primary strategies for prompt engineering: zero-shot learning and few-shot learning [38].”
ASTER: Natural and Multi-Language Unit Test Generation with LLMs
Pan, R., Kim, M., Krishna, R., Pavuluri, R., & Sinha, S. K. (2025) · IEEE/ACM International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP) · doi:10.1109/icse-seip66354.2025.00042 · Cited by 107
“Compared to the previous work [4], [5], [7], [11], [13], [14], [55]–[57] on conventional test-generation approaches, we leverage LLMs to generate more natural unit tests while supporting multiple PLs. Recently, there have been several attempts at employing LLMs for test generation [48], [58]– [63].”
Santos, R., Santos, Í., de Magalhães, C. V. C., & Santos, R. D. S. (2024) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst60714.2024.00039 · Cited by 62
“In this section, we present concepts and definitions of software testing and discuss the findings published in [8] that explore using LLMs in software testing through the lenses of previous studies.”
BackgroundMethodResultInfluentialAutomating a Complete Software Test Process Using LLMs: An Automotive Case Study
Wang, S., Yu, Y., FELDT, R. H., & Parthasarathy, D. (2025) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse55347.2025.00211 · Cited by 74
“While a considerable amount of recent literature has focused on applying LLMs in narrowly scoped tasks [4] – such as specific unit tests [5][6], isolated integration tests [7], or individual verification scenarios [8][9] – few have reported on their application to automate a complete test process.”
Self-citationGuo, J., Wang, M., Yin, H., Song, B., Chi, Y., Yu, F. R., & Yuen, C. (2024) · IEEE Internet of Things Journal · doi:10.1109/jiot.2024.3496491 · Cited by 52
“Other works delve into the pragmatic applications of LLMs in various fields, including natural language processing (NLP) downstream tasks [13], recommender systems [11], and software testing tasks [12].”
BackgroundAdvancing Code Coverage: Incorporating Program Analysis with Large Language Models
Yang, C., Chen, J., Lin, B., Wang, Z., & Zhou, J. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3748505 · Cited by 77
“Additionally, cross-file analysis can be particularly challenging in dynamically typed languages like Python, where imports and method invocations are often resolved at runtime.”
Mutation-Guided LLM-based Test Generation at Meta
Harman, M., Ritchey, J., Harper, I., Sengupta, S., Mao, K., Gulati, A., Foster, C., & Robert, H. (2025) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3696630.3728544 · Cited by 98
“Instead, we refer readers to recent surveys [22, 61].”
Pternea, M., Singh, P., Chakraborty, A., Oruganti, Y. D., Milletari, M., Bapat, S., & Jiang, K. (2024) · Journal of Artificial Intelligence Research · doi:10.1613/jair.1.15960 · Cited by 60
“Since each category corresponds to a distinct type of synergy between RL and LLMs, we have explored the key motivations behind the development of the frameworks included in each category and have explained which key strengths of RL and LLMs are utilized each time.”
BackgroundA Survey on Large Language Models: Applications, Challenges, Limitations, and Practical Usage
Hadi, M. U., tashi, Q. A., Qureshi, R., Shah, A., muneer, A., Irfan, M., Zafar, A., Shaikh, M. B., Akhtar, N., Wu, J., et al. (2023) · doi:10.36227/techrxiv.23589741.v1 · Cited by 370
The Impact of Prompt Programming on Function-Level Code Generation
Khojah, R., Neto, F. G. D. O., Mohamad, M., & Leitner, P. (2025) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2025.3587794 · Cited by 76
“Existing research on LLMs in software engineering has shown the potential of LLMs to support software engineers in various tasks, including requirements elicitation, software testing and documentation [12], [13].”
X-Lifecycle Learning for Cloud Incident Management using LLMs
Goel, D., Husain, F., Singh, A., Ghosh, S., Parayil, A., Bansal, C., Zhang, X., & Rajmohan, S. (2024) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3663529.3663861 · Cited by 68
“Jain et al .”
spade: Synthesizing Data Quality Assertions for Large Language Model Pipelines
Shankar, S., Li, H., Asawa, P., Hulsebos, M., Lin, Y., Zamfirescu-Pereira, J. D., Chase, H., Fu-Hinthorn, W., Parameswaran, A., & Wu, E. (2024) · Proceedings of the VLDB Endowment · doi:10.14778/3685800.3685835 · Cited by 73
LlamaRestTest: Effective REST API Testing with Small Language Models
Kim, M., Sinha, S., & Orso, A. (2025) · Proceedings of the ACM on software engineering. · doi:10.1145/3715737 · Cited by 65
Artificial Intelligence for Software Engineering: The Journey So Far and the Road Ahead
Ahmed, I., Aleti, A., Cai, H., Chatzigeorgiou, A., He, P., Hu, X., Pezzè, M., Poshyvanyk, D., & Xia, X. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3719006 · Cited by 54
“Researchers in academia and industry practitioners own complementary assets, and collecting AIOps datasets requires cooperation between academia and industry.”
InfluentialSWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering
Yang, J., Jimenez, C. E., Wettig, A., Lieret, K., Yao, S., Narasimhan, K., & Press, O. (2024) · arXiv · doi:10.48550/arxiv.2405.15793 · Cited by 3,708
LLM4Fin: Fully Automating LLM-Powered Test Case Generation for FinTech Software Acceptance Testing
Xue, Z., Li, L., Tian, S., Chen, X., Li, P., Chen, L., Jiang, T., & Zhang, M. (2024) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3650212.3680388 · Cited by 62
Automated Control Logic Test Case Generation using Large Language Models
Koziolek, H., Ashiwal, V., Bandyopadhyay, S., & Chandrika, K. R. (2024) · IEEE International Conference on Emerging Technologies and Factory Automation (ETFA) · doi:10.1109/etfa61755.2024.10711016 · Cited by 46
“LLM-based unit test generation: Several researchers have used LLMs for test case generation for procedural, non-PLC software [6].”
MethodFrom Today’s Code to Tomorrow’s Symphony: The AI Transformation of Developer’s Routine by 2030
Qiu, K., Puccinelli, N., Ciniselli, M., & Grazia, L. D. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3709353 · Cited by 50
“AI advancements have also revolutionized the testing phase of the SDLC [14, 42].”
Comprehensive Fine-Tuning Large Language Models of Code for Automated Program Repair
Huang, K., Zhang, J., Bao, X., Wang, X., & Liu, Y. (2025) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2025.3532759 · Cited by 58
“In particular, with the recent rapid development of large language models (LLMs) [8], [9], APR research has also entered the era of LLMs.”
LLMs: A game-changer for software engineers?
Haque, M. A. (2025) · BenchCouncil Transactions on Benchmarks Standards and Evaluations · doi:10.1016/j.tbench.2025.100204 · Cited by 55
“Additionally, LLMs have been applied to automated testing, where they generate unit tests, identify edge cases, and suggest test cases based on the functionality described in code [35][36].”
Leveraging GPT-like LLMs to Automate Issue Labeling
Colavito, G., Lanubile, F., Novielli, N., & Quaranta, L. (2024) · International Conference on Mining Software Repositories (MSR) · doi:10.1145/3643991.3644903 · Cited by 62
“5-turbo [50], GPT-4 GPT-4 [ 51] GPT-like models have been already used in the SE � eld for several tasks, such as program repair [9, 10, 44, 63], code summarization [83], software testing [72], natural language to code [82], code clone detection [22], and code comprehension [81].”
MethodBigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructions
Zhuo, T. Y., Vu, M. C., Chim, J., Hu, H., Yu, W., Widyasari, R., Yusuf, I. N. B., Zhan, H., He, J., Paul, I., et al. (2024) · arXiv · doi:10.48550/arxiv.2406.15877 · Cited by 29
“Therefore, we still consider LLM-based test generation [56] promising, but with proper designs.”
Codepori: Large-Scale System for Autonomous Software Development Using Multi-Agent Technology
Rasheed, Z., Malik, S., Kemell, K.-K., Muhammad, W., Saari, M., Systä, K., & Abrahamsson, P. (2024) · doi:10.2139/ssrn.4979510 · Cited by 27
Large Language Models for Equivalent Mutant Detection: How Far Are We?
Tian, Z., Shu, H., Wang, D., Cao, X., Kamei, Y., & Chen, J. (2024) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3650212.3680395 · Cited by 51
“Software testing with LLMs recently has undergone significant growth [85].”
MethodGuardian: A Runtime Framework for LLM-Based UI Exploration
Ran, D., Wang, H., Song, Z., Wu, M. S., Cao, Y., Zhang, Y., Yang, W. M., & Xie, T. (2024) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3650212.3680334 · Cited by 68
A Large-Scale Empirical Study on Fine-Tuning Large Language Models for Unit Testing
Shang, Y., Zhang, Q., Fang, C., Gu, S., Zhou, J., & Chen, Z. (2025) · Proceedings of the ACM on software engineering. · doi:10.1145/3728951 · Cited by 54
“Unit testing is a crucial part of the software development lifecycle, significantly enhancing software quality and reliability [46, 58].”
InfluentialCodeFuse-13B: A Pretrained Multi-lingual Code Large Language Model
Di, P., Li, J., Yu, H., Jiang, W., Cai, W., Cao, Y., Chen, C., Chen, D., Chen, H., Chen, L., et al. (2024) · IEEE/ACM International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP) · doi:10.1145/3639477.3639719 · Cited by 59
“Recently, there have been efforts to automatically generate test cases by providing a code snippet to LLMs [31, 43, 49].”
BackgroundSelf-citationFlexFL: Flexible and Effective Fault Localization With Open-Source Large Language Models
Xu, C., Liu, Z., Ren, X., Zhang, G., Liang, M., & Lo, D. (2025) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2025.3553363 · Cited by 67
“Large language models (LLMs) have shown remarkable effectiveness in solving complex software engineering problems [23], [46], [47], [48].”
Self-citationHou, S., Zhao, A., Liang, J., Shen, Z., & Wu, H. (2025) · Knowledge-Based Systems · doi:10.1016/j.knosys.2025.113624 · Cited by 31
Can ChatGPT Support Developers? An Empirical Evaluation of Large Language Models for Code Generation
Jin, K., Wang, C.-Y., Pham, H. V., & Hemmati, H. (2024) · Proceedings of the 21st International Conference on Mining Software Repositories · doi:10.1145/3643991.3645074 · Cited by 24
“Recently, LLMs such as CodeGPT [13], Code-Parrot [20], and Codex [4] have demonstrated their ability to facilitate code completion [25], source code mapping [10], system maintenance, [22] and other related Software Engineering tasks.”
BackgroundEnriching automatic test case generation by extracting relevant test inputs from bug reports
Ouédraogo, W. C., Plein, L., Kaboré, K., Habib, A., Klein, J., Lo, D., & Bissyandé, T. F. (2025) · Empirical Software Engineering · doi:10.1007/s10664-025-10635-z · Cited by 34
Prompt engineering in LLMs for automated unit test generation: A large-scale study
Ouédraogo, W. C., Kaboré, A. K., Li, Y., Tian, H., Koyuncu, A., Klein, J., Lo, D., & Bissyandé, T. F. (2026) · Empirical Software Engineering · doi:10.1007/s10664-026-10840-4 · Cited by 70
AI-Driven Refactoring: A Pipeline for Identifying and Correcting Data Clumps in Git Repositories
Baumgartner, N., Iyenghar, P., Schoemaker, T., & Pulvermüller, E. (2024) · Electronics · doi:10.3390/electronics13091644 · Cited by 27
Assured Offline LLM-Based Software Engineering
Alshahwan, N., Harman, M., Harper, I., Marginean, A., Sengupta, S., & Wang, E. (2024) · doi:10.1145/3643661.3643953 · Cited by 35
“There has been a great deal of recent work on LLM–based code generation [7, 20] and on sub-areas such as Software Testing [35].”
Challenges and Paths Towards AI for Software EngineeringPreprint
Gu, A., Jain, N., Li, W., Shetty, M., Shao, Y., Li, Z., Yang, D., Ellis, K., Sen, K., & Solar-Lezama, A. (2025) · Qeios · doi:10.32388/vv1661 · Cited by 50
The use of large language models for program repair
Zubair, F., Al-Hitmi, M., & Catal, C. (2024) · Computer Standards & Interfaces · doi:10.1016/j.csi.2024.103951 · Cited by 48
Automating Autograding: Large Language Models as Test Suite Generators for Introductory Programming
Alkafaween, U., Al-Bluwi, I., & Denny, P. C. (2024) · Journal of Computer Assisted Learning · doi:10.1111/jcal.13100 · Cited by 35
“There is a growing body of research on using LLMs to generate unit tests in this area [10, 40, 43, 48], our work, however, differs from it in that: 1.”
Hu, X., Niu, F., Chen, J., Zhou, X., Zhang, J., He, J., Xia, X., & Lo, D. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3786771 · Cited by 15
Open Source AI-based SE Tools: Opportunities and Challenges of Collaborative Software Learning
Lin, Z., Ma, W., Lin, T., Zheng, Y., Ge, J., Wang, J., Klein, J., Bissyandé, T. F., Liu, Y., & Li, L. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3708529 · Cited by 34
“Such unit testing efforts also employ iterative prompt engineering to generate test cases and ensure software system quality [43].”
Self-citationPitfalls in Language Models for Code Intelligence: A Taxonomy and Survey
She, X., Liu, Y., Zhao, Y., He, Y., Li, L., Tantithamthavorn, C. K., Qin, Z., & Wang, H. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3748647 · Cited by 40
“In recent research, language models trained for code intelligence have shown promising performance [51, 155, 175].”
Towards Understanding the Effectiveness of Large Language Models on Directed Test Input Generation
Jiang, Z., Wen, M., Cao, J., Shi, X., & Jin, H. (2024) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3691620.3695513 · Cited by 57
“However, LLMs also suffer from similar coverage limitation problems, as pointed out by recent studies [2, 42, 45, 54].”
Usman, Y., Ihejirika, C. J., Offor, S. N., Akl, R., & Chataut, R. (2025) · IEEE Access · doi:10.1109/access.2025.3602451 · Cited by 29
“AI and ML can analyze vast amounts of data in a short time, identify patterns and anomalies, and can also automate responses to potential threats [10].”
Vision-Based Mobile App GUI Testing: A Survey
Yu, S., Fang, C., Tuo, Z., Zhang, Q., Chen, C., Chen, Z., & Su, Z. (2025) · ACM Computing Surveys · doi:10.1145/3773027 · Cited by 40
“However, these surveys lack emphasis on mobile app GUI testing.”
Self-citationA Survey of LLM Datasets: From Autoregressive Model to AI Chatbot
Du, F., Ma, X.-J., Yang, J., Liu, Y., Luo, C.-R., Wang, X.-B., Jiang, H., & Jing, X. (2024) · Journal of Computational Science and Technology · doi:10.1007/s11390-024-3767-3 · Cited by 27
Efficient Training and Inference: Techniques for Large Language Models Using LlamaPreprint
Cunningham, S. R., Archambault, D., & Kung, A. (2024) · doi:10.36227/techrxiv.171651876.65094225/v1 · Cited by 32
From Today's Code to Tomorrow's Symphony: The AI Transformation of Developer's Routine by 2030
Qiu, K., Puccinelli, N., Ciniselli, M., & Di Grazia, L. (2024) · arXiv · doi:10.48550/arxiv.2405.12731 · Cited by 22
Practitioners’ expectations on log anomaly detection
Ma, X., Li, Y., Keung, J., Yu, X., Zou, H., Yang, Z., Sarro, F., & Barr, E. T. (2025) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2025.3586700 · Cited by 21
“…potential of LLMs to aid in the development of log anomaly detection techniques, given their increasing popularity for software engineering tasks [68], [69], [70], particularly in log analysis-related activities, such as employing zero-shot learning for log parsing [71] and integrating…”
What Makes a High-Quality Training Dataset for Large Language Models: A Practitioners’ Perspective
Yu, X., Zhang, Z., Niu, F.-F., Hu, X., Xia, X., & Grundy, J. (2024) · International Conference on Automated Software Engineering · doi:10.1145/3691620.3695061 · Cited by 55
“Large Language Models (LLMs) have demonstrated impressive performance across numerous domains, including natural language processing [28, 32, 35, 67, 78, 81] and software engineering [16, 22, 25, 39, 57, 67, 72, 79, 80, 82].”
LLM for Mobile: An Initial Roadmap
Chen, D., Liu, Y., Zhou, M., Zhao, Y., Wang, H., Wang, S., Chen, X., Bissyandé, T. F., Klein, J., & Li, L. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3708528 · Cited by 40
“This not only amplifies the value derived from user feedback but also equips developers with the tools to prioritize enhancements and foster an engaging user experience.”
Self-citationPromptware Engineering: Software Engineering for Prompt-Enabled Systems
Chen, Z., Wang, C., Sun, W., Liu, X., Zhang, J. M., & Liu, Y. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3796535 · Cited by 53
“Wang et al. [46] conducted a survey on the use of LLMs in software testing, a critical SE activity.”
LPR: Large Language Models-Aided Program Reduction
Zhang, M., Tian, Y., Xu, Z., Dong, Y., Tan, S. H., & Sun, C. P. (2024) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3650212.3652126 · Cited by 37
“They face challenges like understanding subtle differences [19] in code, getting easily distracted by irrelevant context [27] and performing poorly with large inputs due to cata-strophic forgetting [4, 10, 16].”
BackgroundAutomatic High-Level Test Case Generation using Large Language Models
Hasan, N. B., Islam, M. A., Khan, J. Y., Senjik, S., & Iqbal, A. (2025) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr66628.2025.00105 · Cited by 28
Kemell, K., Saarikallio, M., Nguyen‐Duc, A., & Abrahamsson, P. (2025) · Information and Software Technology · doi:10.1016/j.infsof.2025.107805 · Cited by 42
Demystifying and Detecting Misuses of Deep Learning APIs
Wei, M., Harzevili, N. S., Huang, Y.-K., Yang, J., Wang, J., & Wang, S. (2024) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3597503.3639177 · Cited by 38
“Recently, the field of software engineering research has witnessed a significant impact with the emergence of Large Language Models (LLMs) [50].”
BackgroundInfluentialSelf-citationRehan, S., Al‐Bander, B., & Ahmad, A. A.-S. (2025) · Electronics · doi:10.3390/electronics14071463 · Cited by 30
“In modern software engineering, effective and comprehensive testing is critical to ensuring the reliability, scalability, and correctness of our everyday applications [1].”
InfluentialLLM-Driven Testing for Autonomous Driving Scenarios
Petrović, N., Lebioda, K., Zolfaghari, V., Schamschurko, A., Kirchner, S., Purschke, N., Pan, F., & Knoll, A. (2024) · International Conference on Foundation and Large Language Models (FLLM) · doi:10.1109/fllm63129.2024.10852505 · Cited by 35
“Based on the current works and more comprehensive literature reviews [15], it can be concluded that LLMs show quite strong potential in area of automated test generation.”
CI/CD Configuration Practices in Open Source Android Apps: An Empirical Study
Ghaleb, T. A., Abduljalil, O. A. I., & Hassan, S. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3736758 · Cited by 45
Acceptance Test Generation with Large Language Models: An Industrial Case Study
Ferreira, M., Viegas, L. S., Faria, J. P., & Lima, B. (2025) · doi:10.1109/ast66626.2025.00007 · Cited by 18
“In fact, in [6], the authors identify several studies applying LLMs to unit and system testing but note that “there is still no research on the use of LLMs in integration testing and acceptance testing”, underscoring a research gap our work seeks to fill.”
On the Challenges of Fuzzing Techniques via Large Language Models
Huang, L., Zhao, P., Ma, L., & Chen, H. (2025) · IEEE International Conference on Software Services Engineering (SSE) · doi:10.1109/sse67621.2025.00028 · Cited by 43
“Moreover, due to constraints in training data, LLMs are not able to handle unseen APIs accurately, resulting in incorrect invocation sequences and limited testing coverage [67].”
Metadata
- Authors
- Wang, J., Huang, Y., Chen, C., Liu, Z., Wang, S., & Wang, Q.
- Affiliations
- Chinese Academy of Sciences (CN)
- Technical University of Munich (DE)
- York University (CA)
- Venue
- IEEE Transactions on Software Engineering
- Published
- 2024-04
- Volume
- 50
- Issue
- 4
- Pages
- 911-936
- ISSN
- 0098-5589 (ISSN-L)
- 1939-3520
- 2326-3881
- OpenAlex
- W4391974543
- Cited by
- 573
- References
- 172
- Citations by year
- 2026: 219 · 2025: 263 · 2024: 89
- FWCI
- 583.55
- Type
- journal article
- Language
- en
- Open access
- green
- arxiv.org
- Licence
- Locations
- IEEE Transactions on Software Engineering (publishedVersion)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Funders
- National Natural Science Foundation of China (62232016, 62072442, 62272445)
- Youth Innovation Promotion Association Chinese Academy of Sciences, Basic Research Program of ISCAS (ISCAS-JCZD-202304)
- Major Program of ISCAS (ISCAS-ZD-202302)
- Topics
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Information Systems › Software Engineering Techniques and Practices
- Keywords
- large language models, software testing, test case generation, program repair, prompt engineering, software quality assurance
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.