Software System Testing Assisted by Large Language Models: An Exploratory Study

被引:0
|
作者
Augusto, Cristian [1 ]
Moran, Jesus [1 ]
Bertolino, Antonia [2 ]
de la Riva, Claudio [1 ]
Tuya, Javier [1 ]
机构
[1] Univ Oviedo, Comp Sci Dept, Gijon, Spain
[2] ISTI CNR, Consiglio Nazl Ric, Pisa, Italy
来源
TESTING SOFTWARE AND SYSTEMS, ICTSS 2024 | 2025年 / 15383卷
关键词
Large Language Model; Software Testing; System Testing; Test Cases; Test Scenarios;
D O I
10.1007/978-3-031-80889-0_17
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Large language models (LLMs) based on transformer architecture have revolutionized natural language processing (NLP), demonstrating excellent capabilities in understanding and generating human-like text. In Software Engineering, LLMs have been applied in code generation, documentation, and report writing tasks, to support the developer and reduce the amount of manual work. In Software Testing, one of the cornerstones of Software Engineering, LLMs have been explored for generating test code, test inputs, automating the oracle process or generating test scenarios. However, their application to high-level testing stages such as system testing, in which a deep knowledge of the business and the technological stack is needed, remains largely unexplored. This paper presents an exploratory study about how LLMs can support system test development. Given that LLM performance depends on input data quality, the study focuses on how to query general purpose LLMs to first obtain test scenarios and then derive test cases from them. The study evaluates two popular LLMs (GPT-4o and GPT-4o-mini), using as a benchmark a European project demonstrator. The study compares two different prompt strategies and employs well-established prompt patterns, showing promising results as well as room for improvement in the application of LLMs to support system testing.
引用
收藏
页码:239 / 255
页数:17
相关论文
共 50 条
  • [1] An Exploratory Study on Using Large Language Models for Mutation Testing
    Wang, Bo
    Chen, Mingda
    Lin, Youfang
    Papadakis, Mike
    Zhang, Jie M.
    arXiv,
  • [2] Evaluating large language models for software testing
    Li, Yihao
    Liu, Pan
    Wang, Haiyang
    Chu, Jie
    Wong, W. Eric
    COMPUTER STANDARDS & INTERFACES, 2025, 93
  • [3] An Empirical Study on How Large Language Models Impact Software Testing Learning
    Mezzaro, Simone
    Gambi, Alessio
    Fraser, Gordon
    PROCEEDINGS OF 2024 28TH INTERNATION CONFERENCE ON EVALUATION AND ASSESSMENT IN SOFTWARE ENGINEERING, EASE 2024, 2024, : 555 - 564
  • [4] Software Testing With Large Language Models: Survey, Landscape, and Vision
    Wang, Junjie
    Huang, Yuchao
    Chen, Chunyang
    Liu, Zhe
    Wang, Song
    Wang, Qing
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2024, 50 (04) : 911 - 936
  • [5] An Exploratory Evaluation of Large Language Models Using Empirical Software Engineering Tasks
    Liang, Wenjun
    Xiao, Guanping
    PROCEEDINGS OF THE 15TH ASIA-PACIFIC SYMPOSIUM ON INTERNETWARE, INTERNETWARE 2024, 2024, : 31 - 40
  • [6] Large language models as an “operating” system for software and systems modeling
    Benoit Combemale
    Jeff Gray
    Bernhard Rumpe
    Software and Systems Modeling, 2023, 22 : 1391 - 1392
  • [7] Large language models as an "operating" system for software and systems modeling
    Combemale, Benoit
    Gray, Jeff
    Rumpe, Bernhard
    SOFTWARE AND SYSTEMS MODELING, 2023, 22 (5): : 1391 - 1392
  • [8] Are We Testing or Being Tested? Exploring the Practical Applications of Large Language Models in Software Testing
    Santos, Robson
    Santos, Italo
    Magalhaes, Cleyton
    Santos, Ronnie de Souza
    2024 IEEE CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION, ICST 2024, 2024, : 353 - 360
  • [9] Large Language Models for Software Engineering: A Systematic Mapping Study
    Gormez, Muhammet Kursat
    Yilmaz, Murat
    Clarke, Paul M.
    SYSTEMS, SOFTWARE AND SERVICES PROCESS IMPROVEMENT, EUROSPI 2024, PT I, 2024, 2179 : 64 - 79
  • [10] Increased Software Security with Large Language Models
    Sagodi, Zoltan
    Hegedus, Peter
    Ferenc, Rudolf
    ERCIM NEWS, 2024, (139):