RMIT University
Browse

A new method for constructing metamorphic relations

Download (236.93 kB)
conference contribution
posted on 2024-11-23, 05:50 authored by Huai Liu, Xuan Liu, Tsong Yueh Chen
A fundamental problem for software testing is the oracle problem, which means that in many practical situations, it is extremely expensive, if not impossible, to verify the test result given any possible program input. Metamorphic testing is an approach to alleviating the oracle problem. The key part of metamorphic testing is a set of necessary properties of the software under test, namely metamorphic relations. Metamorphic relations not only help generate test cases, but also provide a mechanism to partially verify the test results without the need of oracle. In most previous studies, metamorphic relations were identified manually by testers in an ad hoc way. There is no systematic methodology that helps us identify metamorphic relations. In this paper, we propose a simple method, namely, the composition of metamorphic relations, for systematically constructing new metamorphic relations based on the already identified metamorphic relations. We conduct a case study and show that new metamorphic relations can be easily constructed by compositing some existing metamorphic relations. It is also observed that the new metamorphic relations are very likely to deliver a higher cost-effectiveness of metamorphic testing than the original metamorphic relations.

History

Related Materials

  1. 1.
    DOI - Is published in 10.1109/QSIC.2012.10
  2. 2.
    ISBN - Is published in 9780769548333 (urn:isbn:9780769548333)

Start page

59

End page

68

Total pages

10

Outlet

Proceedings of the 12th International Conference on Quality Software (QSIC 2012)

Editors

Antony Tang, Henry Muccini

Name of conference

QSIC 2012

Publisher

IEEE

Place published

Los Alamitos, CA, USA

Start date

2012-08-27

End date

2012-08-29

Language

English

Copyright

© 2012 IEEE.

Notes

© 2012 IEEE. Reprinted, with permission, from Liu, H, Liu, X and Chen, T 2012, 'A new method for constructing metamorphic relations', in Tang, A; Muccini, H (ed.) Proceedings of the 12th International Conference on Quality Software (QSIC 2012), Los Alamitos, CA, USA, 27-29 August 2012, pp. 59-68. This material is posted here with permission of the IEEE. Such permission of the IEEE does not in any way imply IEEE endorsement of any of RMIT University's products or services. Internal or personal use of this material is permitted. However, permission to reprint/republish this material for advertising or promotional purposes or for creating new collective works for resale or redistribution must be obtained from the IEEE by writing to pubs-permissions@ieee.org. By choosing to view this document, you agree to all provisions of the copyright laws protecting it.

Former Identifier

2006040963

Esploro creation date

2020-06-22

Fedora creation date

2013-05-13

Open access

  • Yes

Usage metrics

    Scholarly Works

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC