• DocumentCode
    29240
  • Title

    How Effectively Does Metamorphic Testing Alleviate the Oracle Problem?

  • Author

    Huai Liu ; Fei-Ching Kuo ; Towey, Dave ; Tsong Yueh Chen

  • Author_Institution
    Australia-India Centre for Autom. Software Eng., RMIT Univ., Melbourne, VIC, Australia
  • Volume
    40
  • Issue
    1
  • fYear
    2014
  • fDate
    Jan. 2014
  • Firstpage
    4
  • Lastpage
    22
  • Abstract
    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.
  • Keywords
    program diagnostics; program testing; software fault tolerance; software quality; fault-detection capability; metamorphic relations; metamorphic testing; oracle problem; program correctness; software analysis; software properties; software testing; Benchmark testing; Computer crashes; Educational institutions; Software; Software testing; Training; Software testing; metamorphic relation; metamorphic testing; oracle problem; test oracle;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.2013.46
  • Filename
    6613484