PofoliaShared via Pofolia

IEEE Transactions on Software Engineering· 2024Q1· Review

Software Testing With Large Language Models: Survey, Landscape, and Vision

Junjie Wang, Yuchao Huang, Chunyang Chen, Zhe Liu et al.

Short summary

A survey of 102 studies reveals Large Language Models (LLMs) are increasingly applied to software testing, particularly for test case preparation and program repair.

AI-generated from the title and abstract; the full text is not read.

Key points

  • Analyzed 102 studies on LLM applications in software testing.
  • LLMs are most frequently used for test case preparation and program repair.
  • The survey details common LLMs, prompt engineering, and associated techniques.
  • Identifies current challenges and future opportunities in LLM-driven software testing.

AI-generated from the title and abstract; the full text is not read.

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.

The authors' abstract, as published at the source. IEEE Transactions on Software Engineering, 2024 · DOI ↗

TakeawaysPremium
Ask the paperFree account

Continue with a free account

Ask the paper: 3 free questions a day about this paper; save it, get its citation, new summaries every day for your field. Takeaways are Premium.

Continue free on the web

Sign in with Google or Apple; no card needed. You come back to this paper.

On your phone:

Field: Software

SoftwareComputer Science