Evaluating large language models for software testing

计算机科学 软件测试 软件工程 程序设计语言 软件
作者
Yihao Li,Pan Liu,Haiyang Wang,Jie Chu,W. Eric Wong
出处
期刊:Computer Standards & Interfaces [Elsevier BV]
卷期号:93: 103942-103942 被引量:29
标识
DOI:10.1016/j.csi.2024.103942
摘要

• We present a new evaluation framework for testing the capabilities of LLMs , using manual testing as a benchmark to assess different LLMs. This approach avoids the potential reliance on existing test sets that may be part of LLM training data , ensuring a more reliable evaluation of their generalization capabilities. • We utilize third-party open-source software for LLM testing evaluation, ensuring bug reproducibility and simulating the real-world application of LLMs in software testing, thus enabling more objective evaluations. • We evaluate different LLMs from multiple perspectives and discuss practical strategies for implementing LLM-driven testing effectively. • We propose the follow-up question method for LLM-driven testing, which shows promise in enhancing the abilities of LLMs to detect bugs and defects in program code. Large language models (LLMs) have demonstrated significant prowess in code analysis and natural language processing, making them highly valuable for software testing. This paper conducts a comprehensive evaluation of LLMs applied to software testing, with a particular emphasis on test case generation, error tracing, and bug localization across twelve open-source projects. The advantages and limitations, as well as recommendations associated with utilizing LLMs for these tasks, are delineated. Furthermore, we delve into the phenomenon of hallucination in LLMs, examining its impact on software testing processes and presenting solutions to mitigate its effects. The findings of this work contribute to a deeper understanding of integrating LLMs into software testing, providing insights that pave the way for enhanced effectiveness in the field.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
隐形曼青应助Zz采纳,获得10
1秒前
Wangpengfei发布了新的文献求助10
2秒前
搜集达人应助chendi20082009采纳,获得30
2秒前
Lucas应助宋晓静采纳,获得10
3秒前
直率青寒完成签到,获得积分10
3秒前
4秒前
彭于晏应助海关监管环境采纳,获得10
4秒前
4秒前
5秒前
yoyo20012623完成签到,获得积分10
5秒前
7秒前
钦白AZURE完成签到,获得积分10
8秒前
MingWang完成签到 ,获得积分10
9秒前
笑笑完成签到 ,获得积分10
10秒前
Ikejima完成签到,获得积分10
10秒前
今天努力摆完成签到,获得积分10
10秒前
寰宇完成签到,获得积分10
11秒前
12秒前
12秒前
12秒前
练习者发布了新的文献求助10
14秒前
烟花应助mianyang采纳,获得10
15秒前
18秒前
18秒前
ddd发布了新的文献求助10
18秒前
19秒前
sun完成签到,获得积分10
19秒前
练习者完成签到,获得积分10
20秒前
Zz完成签到,获得积分10
21秒前
22秒前
22秒前
lash完成签到,获得积分10
23秒前
高木完成签到,获得积分10
24秒前
迷人大炮发布了新的文献求助10
25秒前
福西西发布了新的文献求助10
25秒前
温暖雅山完成签到,获得积分10
25秒前
周z2351198754完成签到,获得积分10
26秒前
29秒前
小蘑菇应助福西西采纳,获得10
31秒前
高分求助中
Principles of Economics, 11th Edition 10000
University Physics with Modern Physics, 16th edition 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Molecular Mechanisms of Photosynthesis, 4th Edition 1000
Organic Reactions, Volume 116 1000
Matrix Methods in Data Mining and Pattern Recognition 510
Social Skills Improvement System-Rating Scales--Chinese Version 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7254342
求助须知:如何正确求助?哪些是违规求助? 8876285
关于积分的说明 18741787
捐赠科研通 6934908
什么是DOI,文献DOI怎么找? 3200112
关于科研通互助平台的介绍 2374772
邀请新用户注册赠送积分活动 2175008