Cargando…
A metamorphic testing approach for event sequences
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...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Public Library of Science
2019
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6380623/ https://www.ncbi.nlm.nih.gov/pubmed/30779769 http://dx.doi.org/10.1371/journal.pone.0212476 |
_version_ | 1783396332339200000 |
---|---|
author | Chen, Jing Wang, Yinglong Guo, Ying Jiang, Mingyue |
author_facet | Chen, Jing Wang, Yinglong Guo, Ying Jiang, Mingyue |
author_sort | Chen, Jing |
collection | PubMed |
description | 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. |
format | Online Article Text |
id | pubmed-6380623 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2019 |
publisher | Public Library of Science |
record_format | MEDLINE/PubMed |
spelling | pubmed-63806232019-03-01 A metamorphic testing approach for event sequences Chen, Jing Wang, Yinglong Guo, Ying Jiang, Mingyue PLoS One Research Article 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. Public Library of Science 2019-02-19 /pmc/articles/PMC6380623/ /pubmed/30779769 http://dx.doi.org/10.1371/journal.pone.0212476 Text en © 2019 Chen et al http://creativecommons.org/licenses/by/4.0/ This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. |
spellingShingle | Research Article Chen, Jing Wang, Yinglong Guo, Ying Jiang, Mingyue A metamorphic testing approach for event sequences |
title | A metamorphic testing approach for event sequences |
title_full | A metamorphic testing approach for event sequences |
title_fullStr | A metamorphic testing approach for event sequences |
title_full_unstemmed | A metamorphic testing approach for event sequences |
title_short | A metamorphic testing approach for event sequences |
title_sort | metamorphic testing approach for event sequences |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6380623/ https://www.ncbi.nlm.nih.gov/pubmed/30779769 http://dx.doi.org/10.1371/journal.pone.0212476 |
work_keys_str_mv | AT chenjing ametamorphictestingapproachforeventsequences AT wangyinglong ametamorphictestingapproachforeventsequences AT guoying ametamorphictestingapproachforeventsequences AT jiangmingyue ametamorphictestingapproachforeventsequences AT chenjing metamorphictestingapproachforeventsequences AT wangyinglong metamorphictestingapproachforeventsequences AT guoying metamorphictestingapproachforeventsequences AT jiangmingyue metamorphictestingapproachforeventsequences |