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 条
  • [11] Software Modeling Assistance with Large Language Models
    Ben Chaaben, Meriem
    ACM/IEEE 27TH INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS: COMPANION PROCEEDINGS, MODELS 2024, 2024, : 188 - 191
  • [12] Large Language Models in Software Engineering Education: A Preliminary Study on Software Requirements Engineering Courses
    Feng Chen
    Shaomin Zhu
    Xin Liu
    Ying Qian
    计算机教育, 2025, (03) : 24 - 33
  • [13] Harnessing Large Language Models for Software Vulnerability Detection: A Comprehensive Benchmarking Study
    Tamberg, Karl
    Bahsi, Hayretdin
    IEEE ACCESS, 2025, 13 : 29698 - 29717
  • [14] Look Before You Leap: An Exploratory Study of Uncertainty Analysis for Large Language Models
    Huang, Yuheng
    Song, Jiayang
    Wang, Zhijie
    Zhao, Shengming
    Chen, Huaming
    Juefei-Xu, Felix
    Ma, Lei
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2025, 51 (02) : 413 - 429
  • [15] Efficient and effective exploratory testing of large-scale software systems
    Martensson, Torvald
    Stahl, Daniel
    Martini, Antonio
    Bosch, Jan
    JOURNAL OF SYSTEMS AND SOFTWARE, 2021, 174 (174)
  • [16] Software Vulnerability Detection using Large Language Models
    Das Purba, Moumita
    Ghosh, Arpita
    Radford, Benjamin J.
    Chu, Bill
    2023 IEEE 34TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS, ISSREW, 2023, : 112 - 119
  • [17] Teaching Software Process Models to Software Engineering Students: An Exploratory Study
    Tiwari, Saurabh
    Rathore, Santosh Singh
    2019 26TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC), 2019, : 308 - 315
  • [18] An Exploratory Study on How Non-Determinism in Large Language Models Affects Log Parsing
    Astekin, Merve
    Hort, Max
    Moonen, Leon
    PROCEEDINGS 2024 IEEE/ACM 2ND INTERNATIONAL WORKSHOP ON INTERPRETABILITY, ROBUSTNESS, AND BENCHMARKING IN NEURAL SOFTWARE ENGINEERING, INTENSE 2024, 2024, : 13 - 18
  • [19] A case study of fairness in generated images of Large Language Models for Software Engineering tasks
    Sami, Mansour
    Sami, Ashkan
    Barclay, Pete
    2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION, ICSME, 2023, : 391 - 396
  • [20] Authoring Educational Hypercomics assisted by Large Language Models
    Grimm, Valentin
    Rubart, Jessica
    PROCEEDINGS OF THE 35TH ACM CONFERENCE ON HYPERTEXT AND SOCIAL MEDIA, HT 2024, 2024, : 88 - 97