Title
GenMorph: Automatically Generating Metamorphic Relations via Genetic Programmingxmlui.dri2xhtml.METS-1.0.item-contributorOtherinstitution
https://ror.org/03b94tp07https://ror.org/0220mzb33
https://ror.org/03c4atk17
Version
http://purl.org/coar/version/c_ab4af688f83e57aa
Rights
© 2024 IEEEAccess
http://purl.org/coar/access_right/c_abf2Publisher’s version
https://doi.org/10.1109/TSE.2024.3407840Published at
IEEE Transactions on Software Engineering Publisher
IEEEKeywords
Metamorphic Testing
oracle improvement
genetic programming
mutation analysis ... [+]
oracle improvement
genetic programming
mutation analysis ... [+]
Metamorphic Testing
oracle improvement
genetic programming
mutation analysis
ODS 9 Industria, innovación e infraestructura [-]
oracle improvement
genetic programming
mutation analysis
ODS 9 Industria, innovación e infraestructura [-]
Abstract
Metamorphic testing is a popular approach that aims to alleviate the oracle problem in software testing. At the core of this approach are Metamorphic Relations (MRs), specifying properties that hold a ... [+]
Metamorphic testing is a popular approach that aims to alleviate the oracle problem in software testing. At the core of this approach are Metamorphic Relations (MRs), specifying properties that hold among multiple test inputs and corresponding outputs. Deriving MRs is mostly a manual activity, since their automated generation is a challenging and largely unexplored problem. This paper presents GenMorph , a technique to automatically generate MRs for Java methods that involve inputs and outputs that are boolean, numerical, or ordered sequences. GenMorph uses an evolutionary algorithm to search for effective test oracles, i.e., oracles that trigger no false alarms and expose software faults in the method under test. The proposed search algorithm is guided by two fitness functions that measure the number of false alarms and the number of missed faults for the generated MRs. Our results show that GenMorph generates effective MRs for 18 out of 23 methods (mutation score >20%). Furthermore, it can increase Randoop ’s fault detection capability in 7 out of 23 methods, and Evosuite ’s in 14 out of 23 methods. When compared with AUTOMR, a state-of-the-art MR generator, GenMorph also outperformed its fault detection capability in 9 out of 10 methods. [-]
xmlui.dri2xhtml.METS-1.0.item-oaire-funderName
Gobierno VascoGobierno Vasco
xmlui.dri2xhtml.METS-1.0.item-oaire-fundingStream
Elkartek 2022Ikertalde Convocatoria 2022-2023
xmlui.dri2xhtml.METS-1.0.item-oaire-awardNumber
KK-2022/00119IT1519-22
xmlui.dri2xhtml.METS-1.0.item-oaire-awardURI
Sin informaciónSin información
xmlui.dri2xhtml.METS-1.0.item-oaire-awardTitle
Edge Technologies for Industrial Distributed AI Applications (EGIA)Ingeniería de Software y Sistemas
Collections
- Articles - Engineering [684]