RMIT University
Browse

How effectively does metamorphic testing alleviate the oracle problem?

Download (882.2 kB)
journal contribution
posted on 2024-11-23, 08:44 authored by Huai Liu, Fei Ching Kuo, Dave Towey, Tsong Yueh Chen
In software testing, something which can verify the correctness of test case execution results is called an oracle. The oracle problem occurs when either an oracle does not exist, or exists but is too expensive to be used. Metamorphic testing is a testing approach which uses metamorphic relations, properties of the software under test represented in the form of relations among inputs and outputs of multiple executions, to help verify the correctness of a program. This paper presents new empirical evidence to support this approach, which has been used to alleviate the oracle problem in various applications and to enhance several software analysis and testing techniques. It has been observed that identification of a sufficient number of appropriate metamorphic relations for testing, even by inexperienced testers, was possible with a very small amount of training. Furthermore, the cost-effectiveness of the approach could be enhanced through the use of more diverse metamorphic relations. The empirical studies presented in this paper clearly show that a small number of diverse metamorphic relations, even those identified in an ad hoc manner, had a similar fault-detection capability to a test oracle, and could thus effectively help alleviate the oracle problem.

History

Related Materials

  1. 1.
    DOI - Is published in 10.1109/TSE.2013.46
  2. 2.
    ISSN - Is published in 00985589

Journal

IEEE Transactions on Software Engineering

Volume

40

Issue

1

Start page

4

End page

22

Total pages

19

Publisher

IEEE

Place published

United States

Language

English

Copyright

© 2014 IEEE

Notes

© 2007 IEEE. Reprinted, with permission, from Liu, H, Kuo, F, Towey, D and Chen, T 2014, 'How effectively does metamorphic testing alleviate the oracle problem?', IEEE Transactions on Software Engineering, vol. 40, no. 1, pp. 4-22. This material is posted here with permission.

Former Identifier

2006042400

Esploro creation date

2020-06-22

Fedora creation date

2013-10-14

Open access

  • Yes

Usage metrics

    Scholarly Works

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC