TY - JOUR
T1 - SFIDMT-ART
T2 - A metamorphic group generation method based on Adaptive Random Testing applied to source and follow-up input domains
AU - Ying, Zhihao
AU - Towey, Dave
AU - Bellotti, Anthony Graham
AU - Chen, Tsong Yueh
AU - Zhou, Zhi Quan
N1 - Publisher Copyright:
© 2024 The Author(s)
PY - 2024/11
Y1 - 2024/11
N2 - Context: The performance of metamorphic testing relates strongly to the quality of test cases. However, most related research has only focused on source test cases, ignoring follow-up test cases to some extent. In this paper, we identify a potential problem that may be encountered with existing metamorphic group generation algorithms. We then propose a possible solution to address this problem. Based on this solution, we design a new algorithm for generating effective source and follow-up test cases. Objective: To improve the performance (test effectiveness and efficiency) of metamorphic testing. Methods: We introduce the concept of the input-domain difference problem, which is likely to affect the performance of metamorphic group generation algorithms. We propose a new test-case distribution criterion for metamorphic testing to address this problem. Based on our proposed criterion, we further present a new metamorphic group generation algorithm, from a black-box perspective, with new distance metrics to facilitate this algorithm. Results: Our algorithm performs significantly better than existing algorithms, in terms of test effectiveness, efficiency and test-case diversity. Conclusions: Through experiments, we find that the input-domain difference problem is likely to affect the performance of metamorphic group generation algorithms. The experimental results demonstrate that our algorithm can achieve good test efficiency, effectiveness, and test-case diversity.
AB - Context: The performance of metamorphic testing relates strongly to the quality of test cases. However, most related research has only focused on source test cases, ignoring follow-up test cases to some extent. In this paper, we identify a potential problem that may be encountered with existing metamorphic group generation algorithms. We then propose a possible solution to address this problem. Based on this solution, we design a new algorithm for generating effective source and follow-up test cases. Objective: To improve the performance (test effectiveness and efficiency) of metamorphic testing. Methods: We introduce the concept of the input-domain difference problem, which is likely to affect the performance of metamorphic group generation algorithms. We propose a new test-case distribution criterion for metamorphic testing to address this problem. Based on our proposed criterion, we further present a new metamorphic group generation algorithm, from a black-box perspective, with new distance metrics to facilitate this algorithm. Results: Our algorithm performs significantly better than existing algorithms, in terms of test effectiveness, efficiency and test-case diversity. Conclusions: Through experiments, we find that the input-domain difference problem is likely to affect the performance of metamorphic group generation algorithms. The experimental results demonstrate that our algorithm can achieve good test efficiency, effectiveness, and test-case diversity.
KW - Metamorphic testing
KW - Metamorphic group
KW - Metamorphic relation
KW - Adaptive random testing
KW - Input domain
UR - http://www.scopus.com/inward/record.url?scp=85199955372&partnerID=8YFLogxK
U2 - 10.1016/j.infsof.2024.107528
DO - 10.1016/j.infsof.2024.107528
M3 - Article
AN - SCOPUS:85199955372
SN - 0950-5849
VL - 175
JO - Information and Software Technology
JF - Information and Software Technology
M1 - 107528
ER -