Paper published in a book (Scientific congresses, symposiums and conference proceedings)
Towards Generating Executable Metamorphic Relations Using Large Language Models
SHIN, Seung Yeob; PASTORE, Fabrizio; BIANCULLI, Domenico et al.
2024In Proceedings of the 17th International Conference on the Quality of Information and Communications Technology
Peer reviewed Dataset
 

Files


Full Text
postprint.pdf
Author postprint (1.16 MB)
This version of the contribution has been accepted for publication, after peer review (when applicable) but is not the Version of Record and does not reflect post-acceptance improvements, or any corrections. The Version of Record is available online at: https://doi.org/10.1007/978-3-031-70245-7_9. Use of this Accepted Version is subject to the publisher’s Accepted Manuscript terms of use https://www.springernature.com/gp/open-research/policies/accepted-manuscript-terms.
Download

All documents in ORBilu are protected by a user license.

Send to



Details



Keywords :
metamorphic testing; large language model; LLM; executable metamorphic relations
Abstract :
[en] Metamorphic testing (MT) has proven to be a successful solution to automating testing and addressing the oracle problem. However, it entails manually deriving metamorphic relations (MRs) and converting them into an executable form; these steps are time-consuming and may prevent the adoption of MT. In this paper, we propose an approach for automatically deriving executable MRs (EMRs) from requirements using large language models (LLMs). Instead of merely asking the LLM to produce EMRs, our approach relies on a few-shot prompting strategy to instruct the LLM to perform activities in the MT process, by providing requirements and API specifications, as one would do with software engineers. To assess the feasibility of our approach, we conducted a questionnaire-based survey in collaboration with Siemens Industry Software, a worldwide leader in providing industry software and services, focusing on four of their software applications. Additionally, we evaluated the accuracy of the generated EMRs for a Web application. The outcomes of our study are highly promising, as they demonstrate the capability of our approach to generate MRs and EMRs that are both comprehensible and pertinent for testing purposes.
Research center :
Interdisciplinary Centre for Security, Reliability and Trust (SnT) > SVV - Software Verification and Validation
Disciplines :
Computer science
Author, co-author :
SHIN, Seung Yeob  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > SVV
PASTORE, Fabrizio  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > SVV
BIANCULLI, Domenico  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > SVV
Baicoianu, Alexandra;  Siemens Industry Software
External co-authors :
yes
Language :
English
Title :
Towards Generating Executable Metamorphic Relations Using Large Language Models
Publication date :
11 September 2024
Event name :
17th International Conference on the Quality of Information and Communications Technology
Event place :
Pisa, Italy
Event date :
from 11 to 13 September 2024
Main work title :
Proceedings of the 17th International Conference on the Quality of Information and Communications Technology
Publisher :
Springer, Berlin, Germany
Peer reviewed :
Peer reviewed
Commentary :
This version of the contribution has been accepted for publication, after peer review (when applicable) but is not the Version of Record and does not reflect post-acceptance improvements, or any corrections. The Version of Record is available online at: https://doi.org/10.1007/978-3-031-70245-7_9. Use of this Accepted Version is subject to the publisher’s Accepted Manuscript terms of use https://www.springernature.com/gp/open-research/policies/accepted-manuscript-terms.
Available on ORBilu :
since 10 July 2024

Statistics


Number of views
167 (27 by Unilu)
Number of downloads
52 (7 by Unilu)

Scopus citations®
 
2
Scopus citations®
without self-citations
2
OpenCitations
 
0
OpenAlex citations
 
5

Bibliography


Similar publications



Contact ORBilu