4.6 Article

Feedback-Directed Metamorphic Testing

Publisher

ASSOC COMPUTING MACHINERY
DOI: 10.1145/3533314

Keywords

Metamorphic testing; metamorphic relation; test execution; feedback control; random testing; adaptive partition testing

Ask authors/readers for more resources

Metamorphic testing has gained increasing attention for its efficacy in revealing software faults. This study proposes a new approach called feedback-directed metamorphic testing, which leverages test execution feedback to improve cost-effectiveness. The empirical results show that feedback-directed metamorphic testing can use fewer test cases and less time to detect the same number of faults compared to traditional metamorphic testing.
Over the past decade, metamorphic testing has gained rapidly increasing attention from both academia and industry, particularly thanks to its high efficacy on revealing real-life software faults in a wide variety of application domains. On the basis of a set of metamorphic relations among multiple software inputs and their expected outputs, metamorphic testing not only provides a test case generation strategy by constructing new (or follow-up) test cases from some original (or source) test cases, but also a test result verificationmechanism through checking the relationship between the outputs of source and follow-up test cases. Many efforts have been made to further improve the cost-effectiveness ofmetamorphic testing from different perspectives. Some studies attempted to identify good metamorphic relations, while other studies were focused on applying effective test case generation strategies especially for source test cases. In this article, we propose improving the cost-effectiveness of metamorphic testing by leveraging the feedback information obtained in the test execution process. Consequently, we develop a new approach, namely feedback-directed metamorphic testing, which makes use of test execution information to dynamically adjust the selection of metamorphic relations and selection of source test cases. We conduct an empirical study to evaluate the proposed approach based on four laboratory programs, one GNU program, and one industry program. The empirical results show that feedback-directed metamorphic testing can use fewer test cases and take less time than the traditional metamorphic testing for detecting the same number of faults. It is clearly demonstrated that the use of feedback information about test execution does help enhance the cost-effectiveness of metamorphic testing. Our work provides a new perspective to improve the efficacy and applicability of metamorphic testing as well as many other software testing techniques.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.6
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available