IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0212476.html
   My bibliography  Save this article

A metamorphic testing approach for event sequences

Author

Listed:
  • Jing Chen
  • Yinglong Wang
  • Ying Guo
  • Mingyue Jiang

Abstract

Test oracles are commonly used in software testing to determine the correctness of the execution results of test cases. However, the testing of many software systems faces the test oracle problem: a test oracle may not always be available, or it may be available but too expensive to apply. One such software system is a system involving abundant business processes. This paper focuses on the testing of business-process-based software systems and proposes a metamorphic testing approach for event sequences, called MTES, to alleviate the oracle problem. We utilized event sequences to represent business processes and then applied the technique of metamorphic testing to test the system without using test oracles. To apply metamorphic testing, we studied the general rules for identifying metamorphic relations for business processes and further demonstrated specific metamorphic relations for individual case studies. Three case studies were conducted to evaluate the effectiveness of our approach. The experimental results show that our approach is feasible and effective in testing the applications with rich business processes. In addition, this paper summarizes the experimental findings and proposes guidelines for selecting good metamorphic relations for business processes.

Suggested Citation

  • Jing Chen & Yinglong Wang & Ying Guo & Mingyue Jiang, 2019. "A metamorphic testing approach for event sequences," PLOS ONE, Public Library of Science, vol. 14(2), pages 1-39, February.
  • Handle: RePEc:plo:pone00:0212476
    DOI: 10.1371/journal.pone.0212476
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0212476
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0212476&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0212476?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. W. K. Chan & S. C. Cheung & Karl R.P.H. Leung, 2007. "A Metamorphic Testing Approach for Online Testing of Service-Oriented Software Applications," International Journal of Web Services Research (IJWSR), IGI Global, vol. 4(2), pages 61-81, April.
    2. Chang-ai Sun & Guan Wang & Baohong Mu & Huai Liu & ZhaoShun Wang & T. Y. Chen, 2012. "A Metamorphic Relation-Based Approach to Testing Web Services Without Oracles," International Journal of Web Services Research (IJWSR), IGI Global, vol. 9(1), pages 51-73, January.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.

      More about this item

      Statistics

      Access and download statistics

      Corrections

      All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0212476. See general information about how to correct material in RePEc.

      If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

      If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

      If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

      For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

      Please note that corrections may take a couple of weeks to filter through the various RePEc services.

      IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.