Learning to Generate Fault-revealing Test Cases in Metamorphic Testing
Zusammenfassung
Metamorphic Testing is a software testing paradigm which aims at using necessary properties of a system under test, called metamorphic relations (MR), to either check its expected outputs, or to generate new test cases. Metamorphic Testing has been successful to test programs for which a full oracle is unavailable or to test programs with uncertainties on expected outputs such as learning systems. In this paper, we formulate the effective selection of MRs as a reinforcement learning problem, based on contextual bandits. Our method Adaptive Metamorphic Testing sequentially selects a MR that is expected to provide the highest payoff, i.e., that is most likely to reveal faults. Which MRs are likely to reveal faults is learned from successive exploration trials. The bandit explores the available MRs and evaluates the fault landscape of the system under test, thereby providing valuable information to the tester. We present experimental results over two applications in machine learning, namely image classification and object detection, where Adaptive Metamorphic Testing efficiently identifies weaknesses of the tested systems. The original paper "Adaptive Metamorphic Testing with Contextual Bandits" first appeared in the Journal of Systems and Software (2020).
- Vollständige Referenz
- BibTeX
Spieker, H. & Gotlieb, A.,
(2021).
Learning to Generate Fault-revealing Test Cases in Metamorphic Testing.
In:
Koziolek, A., Schaefer, I. & Seidl, C.
(Hrsg.),
Software Engineering 2021.
Bonn:
Gesellschaft für Informatik e.V..
(S. 99-100).
DOI: 10.18420/SE2021_37
@inproceedings{mci/Spieker2021,
author = {Spieker, Helge AND Gotlieb, Arnaud},
title = {Learning to Generate Fault-revealing Test Cases in Metamorphic Testing},
booktitle = {Software Engineering 2021},
year = {2021},
editor = {Koziolek, Anne AND Schaefer, Ina AND Seidl, Christoph} ,
pages = { 99-100 } ,
doi = { 10.18420/SE2021_37 },
publisher = {Gesellschaft für Informatik e.V.},
address = {Bonn}
}
author = {Spieker, Helge AND Gotlieb, Arnaud},
title = {Learning to Generate Fault-revealing Test Cases in Metamorphic Testing},
booktitle = {Software Engineering 2021},
year = {2021},
editor = {Koziolek, Anne AND Schaefer, Ina AND Seidl, Christoph} ,
pages = { 99-100 } ,
doi = { 10.18420/SE2021_37 },
publisher = {Gesellschaft für Informatik e.V.},
address = {Bonn}
}
Sollte hier kein Volltext (PDF) verlinkt sein, dann kann es sein, dass dieser aus verschiedenen Gruenden (z.B. Lizenzen oder Copyright) nur in einer anderen Digital Library verfuegbar ist. Versuchen Sie in diesem Fall einen Zugriff ueber die verlinkte DOI: 10.18420/SE2021_37
Haben Sie fehlerhafte Angaben entdeckt? Sagen Sie uns Bescheid: Feedback abschicken
Mehr Information
DOI: 10.18420/SE2021_37
ISBN: 978-3-88579-704-3
ISSN: 1617-5468
Datum: 2021
Sprache:
(en)
(en)
Typ: Text/ConferencePaper

