Paper published in a book (Scientific congresses, symposiums and conference proceedings)
Intent-Based Mutation Testing: From Naturally Written Programming Intents to Mutants
HAMIDI, Asma Sadjida; KHANFIR, Ahmed; PAPADAKIS, Michail
2025In Fasolino, Anna Rita (Ed.) 2025 IEEE International Conference on Software Testing, Verification and Validation Workshops, ICSTW 2025
Peer reviewed
 

Files


Full Text
icstcomp25mutation-id205-p-f4cf8980a3-164055-preprint.pdf
Author postprint (452.44 kB)
Download

All documents in ORBilu are protected by a user license.

Send to



Details



Keywords :
Mutation testing; Program behavior; Program specification; Software testing; Large language models
Abstract :
[en] This paper presents intent-based mutation testing, a testing approach that generates mutations by changing the programming intents that are implemented in the programs under test. In contrast to traditional mutation testing, which changes (mutates) the way programs are written, intent mutation changes (mutates) the behavior of the programs by producing mutations that implement (slightly) different intents than those implemented in the original program. The mutations of the programming intents represent possible corner cases and misunderstandings of the program behavior, i.e., program specifications, and thus can capture different classes of faults than traditional (syntax-based) mutation. Moreover, since programming intents can be implemented in different ways, intent-based mutation testing can generate diverse and complex mutations that are close to the original programming intents (specifications) and thus direct testing towards the intent variants of the program behavior/specifications. We implement intent-based mutation testing using Large Language Models (LLMs) that mutate programming intents and transform them into mutants. We evaluate intent-based mutation on 29 programs and show that it generates mutations that are syntactically complex, semantically diverse, and quite different (semantically) from the traditional ones. We also show that 55% of the intent-based mutations are not subsumed by traditional mutations. Overall, our analysis shows that intent-based mutation testing can be a powerful complement to traditional (syntax-based) mutation testing.
Research center :
Interdisciplinary Centre for Security, Reliability and Trust (SnT) > SerVal - Security, Reasoning & Validation
Disciplines :
Computer science
Author, co-author :
HAMIDI, Asma Sadjida  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > SerVal
KHANFIR, Ahmed ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust > SerVal > Team Yves LE TRAON
PAPADAKIS, Michail ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > SerVal
External co-authors :
yes
Language :
English
Title :
Intent-Based Mutation Testing: From Naturally Written Programming Intents to Mutants
Publication date :
31 March 2025
Event name :
2025 IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW)
Event place :
Naples, Italy
Event date :
31-03-2025 => 04-04-2025
Main work title :
2025 IEEE International Conference on Software Testing, Verification and Validation Workshops, ICSTW 2025
Editor :
Fasolino, Anna Rita
Publisher :
Institute of Electrical and Electronics Engineers Inc.
ISBN/EAN :
9798331534677
Pages :
347-357
Peer reviewed :
Peer reviewed
Development Goals :
9. Industry, innovation and infrastructure
Available on ORBilu :
since 17 January 2026

Statistics


Number of views
21 (0 by Unilu)
Number of downloads
10 (0 by Unilu)

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

Bibliography


Similar publications



Contact ORBilu