Metamorphic Testing: A New Approach for Generating Next Test Cases
T.Y. Chen, S.C. Cheung, S.M. Yiu

TL;DR
This paper introduces metamorphic testing, a novel approach that generates new test cases from existing ones to detect hidden software errors, especially when test oracles are unavailable or errors persist after initial testing.
Contribution
It proposes a new test case generation technique based on metamorphic relations that enhances error detection in software testing, including in production and without test oracles.
Findings
Improves detection of undetected software errors.
Effective in testing without test oracles.
Augments existing test selection strategies.
Abstract
In software testing, a set of test cases is constructed according to some predefined selection criteria. The software is then examined against these test cases. Three interesting observations have been made on the current artifacts of software testing. Firstly, an error-revealing test case is considered useful while a successful test case which does not reveal software errors is usually not further investigated. Whether these successful test cases still contain useful information for revealing software errors has not been properly studied. Secondly, no matter how extensive the testing has been conducted in the development phase, errors may still exist in the software [5]. These errors, if left undetected, may eventually cause damage to the production system. The study of techniques for uncovering software errors in the production phase is seldom addressed in the literature. Thirdly, as…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Scientific Computing and Data Management
