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

计算机科学 软件工程 软件 程序设计语言
作者
Junjie Wang,Yuchao Huang,Chunyang Chen,Zhe Liu,Song Wang,Qing Wang
出处
期刊:IEEE Transactions on Software Engineering [IEEE Computer Society]
卷期号:50 (4): 911-936 被引量:69
标识
DOI:10.1109/tse.2024.3368208
摘要

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.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
闪耀吨吨完成签到,获得积分10
刚刚
刚刚
刚刚
1秒前
h8h9完成签到 ,获得积分10
1秒前
星辰完成签到,获得积分10
2秒前
重要凝芙发布了新的文献求助10
2秒前
渝州人完成签到,获得积分10
2秒前
谷策完成签到,获得积分10
3秒前
搜集达人应助李小胖采纳,获得20
3秒前
Lindsay完成签到,获得积分10
4秒前
4秒前
zyy发布了新的文献求助10
4秒前
flb完成签到,获得积分10
4秒前
4秒前
谷策发布了新的文献求助30
5秒前
www999完成签到,获得积分10
6秒前
dandan完成签到,获得积分10
6秒前
情怀应助顽强的小刘采纳,获得30
6秒前
重要凝芙完成签到,获得积分10
7秒前
可乐完成签到,获得积分20
7秒前
小马甲应助要减肥的罡采纳,获得20
7秒前
7秒前
YQ完成签到,获得积分10
8秒前
lling完成签到 ,获得积分10
9秒前
9秒前
10秒前
10秒前
黑色幽默发布了新的文献求助10
10秒前
共享精神应助zyy采纳,获得10
10秒前
危机的易烟完成签到,获得积分10
10秒前
超帅的又槐完成签到,获得积分10
11秒前
12秒前
Lionking发布了新的文献求助30
12秒前
13秒前
13秒前
乐乐应助淡然青筠采纳,获得10
14秒前
14秒前
背后白梦完成签到,获得积分10
14秒前
彭雄武发布了新的文献求助10
15秒前
高分求助中
Les Mantodea de Guyane Insecta, Polyneoptera 2500
One Man Talking: Selected Essays of Shao Xunmei, 1929–1939 (PDF!) 1000
Technologies supporting mass customization of apparel: A pilot project 450
Tip60 complex regulates eggshell formation and oviposition in the white-backed planthopper, providing effective targets for pest control 400
A Field Guide to the Amphibians and Reptiles of Madagascar - Frank Glaw and Miguel Vences - 3rd Edition 400
China Gadabouts: New Frontiers of Humanitarian Nursing, 1941–51 400
The Healthy Socialist Life in Maoist China, 1949–1980 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 物理 生物化学 纳米技术 计算机科学 化学工程 内科学 复合材料 物理化学 电极 遗传学 量子力学 基因 冶金 催化作用
热门帖子
关注 科研通微信公众号,转发送积分 3789277
求助须知:如何正确求助?哪些是违规求助? 3334313
关于积分的说明 10269025
捐赠科研通 3050734
什么是DOI,文献DOI怎么找? 1674119
邀请新用户注册赠送积分活动 802497
科研通“疑难数据库(出版商)”最低求助积分说明 760692