Software Testing with Large Language Models: Survey, Landscape, and Vision
Junjie Wang, Yuchao Huang, Chunyang Chen, Zhe Liu, Song Wang, Qing, Wang

TL;DR
This survey comprehensively reviews how large language models are applied to software testing, analyzing 102 studies to identify common tasks, techniques, challenges, and future opportunities in this emerging field.
Contribution
It provides the first extensive overview of LLMs in software testing, detailing tasks, models, prompt engineering, and highlighting research gaps and future directions.
Findings
Test case generation and program repair are the most common applications.
Various LLMs and prompt engineering techniques are employed in software testing.
Key challenges include model reliability and understanding, with opportunities for improved testing methodologies.
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Software Engineering Research · Software System Performance and Reliability
