Automated identification of metamorphic test scenarios for an ocean-modeling application
Automated identification of metamorphic test scenarios for an ocean-modeling application
Metamorphic testing seeks to validate software in the absence of test oracles. Our application domain is ocean modeling, where test oracles often do not exist, but where symmetries of the simulated physical systems are known. In this short paper we present work in progress for automated generation of metamorphic test scenarios using machine learning.Metamorphic testing may be expressed as f(g(X))=h(f(X)) with f being the application under test, with input data X, and with the metamorphic relation (g, h). Automatically generated metamorphic relations can be used for constructing regression tests, and for comparing different versions of the same software application.Here, we restrict to h being the identity map. Then, the task of constructing tests means finding different g which we tackle using machine learning algorithms. These algorithms typically minimize a cost function. As one possible g is already known to be the identity map, for finding a second possible g, we construct the cost function to minimize for g being a metamorphic relation and to penalize for g being the identity map. After identifying the first metamorphic relation, the procedure is repeated with a cost function rewarding g that are orthogonal to previously found metamorphic relations.For experimental evaluation, two implementations of an oceanmodeling application will be subjected to the proposed method with the objective of presenting the use of metamorphic relations to test the implementations of the applications.
Metamorphic relation, Metamorphic testing, Ocean-modeling application testing, Oracle problem, Software testing, Test case generation
62-63
Hiremath, Dilip J.
2e4fdc08-9348-4770-b1ef-e8ca0901d89e
Claus, Martin
23fe6f40-6ab9-433b-9fd2-4e009b612211
Hasselbring, Wilhelm
ee89c5c9-a900-40b1-82c1-552268cd01bd
Rath, Willi
0c4299d5-1368-4508-85d9-33d3f956334d
August 2020
Hiremath, Dilip J.
2e4fdc08-9348-4770-b1ef-e8ca0901d89e
Claus, Martin
23fe6f40-6ab9-433b-9fd2-4e009b612211
Hasselbring, Wilhelm
ee89c5c9-a900-40b1-82c1-552268cd01bd
Rath, Willi
0c4299d5-1368-4508-85d9-33d3f956334d
Hiremath, Dilip J., Claus, Martin, Hasselbring, Wilhelm and Rath, Willi
(2020)
Automated identification of metamorphic test scenarios for an ocean-modeling application.
In Proceedings - 2020 IEEE International Conference on Artificial Intelligence Testing, AITest 2020.
IEEE.
.
(doi:10.1109/AITEST49225.2020.00016).
Record type:
Conference or Workshop Item
(Paper)
Abstract
Metamorphic testing seeks to validate software in the absence of test oracles. Our application domain is ocean modeling, where test oracles often do not exist, but where symmetries of the simulated physical systems are known. In this short paper we present work in progress for automated generation of metamorphic test scenarios using machine learning.Metamorphic testing may be expressed as f(g(X))=h(f(X)) with f being the application under test, with input data X, and with the metamorphic relation (g, h). Automatically generated metamorphic relations can be used for constructing regression tests, and for comparing different versions of the same software application.Here, we restrict to h being the identity map. Then, the task of constructing tests means finding different g which we tackle using machine learning algorithms. These algorithms typically minimize a cost function. As one possible g is already known to be the identity map, for finding a second possible g, we construct the cost function to minimize for g being a metamorphic relation and to penalize for g being the identity map. After identifying the first metamorphic relation, the procedure is repeated with a cost function rewarding g that are orthogonal to previously found metamorphic relations.For experimental evaluation, two implementations of an oceanmodeling application will be subjected to the proposed method with the objective of presenting the use of metamorphic relations to test the implementations of the applications.
This record has no associated files available for download.
More information
Published date: August 2020
Additional Information:
Publisher Copyright:
© 2020 IEEE.
Venue - Dates:
2nd IEEE International Conference on Artificial Intelligence Testing, AITest 2020, , Oxford, United Kingdom, 2020-08-03 - 2020-08-06
Keywords:
Metamorphic relation, Metamorphic testing, Ocean-modeling application testing, Oracle problem, Software testing, Test case generation
Identifiers
Local EPrints ID: 488881
URI: http://eprints.soton.ac.uk/id/eprint/488881
PURE UUID: bf9a511f-484b-4df6-bede-f11d8c725010
Catalogue record
Date deposited: 09 Apr 2024 10:01
Last modified: 10 Apr 2024 02:15
Export record
Altmetrics
Contributors
Author:
Dilip J. Hiremath
Author:
Martin Claus
Author:
Wilhelm Hasselbring
Author:
Willi Rath
Download statistics
Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.
View more statistics