Loading [MathJax]/extensions/MathZoom.js
Experience Report: How Do Metamorphic Relations Perform in Geographic Information Systems Testing | IEEE Conference Publication | IEEE Xplore

Experience Report: How Do Metamorphic Relations Perform in Geographic Information Systems Testing


Abstract:

Geographic Information Systems (GIS) is a foundational application for different information systems, such as navigation system and global position system. However, due t...Show More

Abstract:

Geographic Information Systems (GIS) is a foundational application for different information systems, such as navigation system and global position system. However, due to the complexity of the system and algorithms, traditional testing methodologies confronted with the test oracle problem. Metamorphic testing (MT) can help resolve the problem by comparing metamorphic relations (MR) among multiple inputs and outputs, which have applied in many different domains. In this paper, we try to apply MT in GIS testing. We propose a semi-automated MT approach for GIS testing. To illustrate the effectiveness of the approach, we conduct a case study with a typical component of GIS: superficial area calculation program. In the empirical study, we construct six kinds of MRs with different properties and characters of the program or its algorithm. Our method could detect the target faults effectively without generating test oracles manually.
Date of Conference: 10-14 June 2016
Date Added to IEEE Xplore: 25 August 2016
ISBN Information:
Electronic ISSN: 0730-3157
Conference Location: Atlanta, GA, USA
References is not available for this document.

I. Introduction

When we test the components of Geographic Information Systems (GIS), it is usually not easy to verify the correctness of the outputs. This is regarded as “test oracle problem [1]”, which restricts software testing seriously. Most of the programs of GIS belong to this category, such as terrain calculation program. Recently, metamorphic testing (MT) [2] is considered as an effective method for alleviating oracle problem. It checks the metamorphic relations (MR) between original test cases and follow-up test cases to determine whether the program satisfies necessary properties. Based on traditional MR definition model, we provide a formal model for MR description and decomposition. For test case generation, a MT based Adaptive Random Testing (MT-ART) algorithm is also proposed in this paper. With these two improvements, we study MT in GIS testing and propose a semi-automated MT method for GIS testing. In addition to presenting our technique, we describe an empirical study, which performed on an industry application of superficial area calculation program. In the case study, we construct six kinds of MRs from different characters of the target program and its algorithm. In this paper, we provide the following unique contributions: (1) A methodology for experimental study of MT in GIS, in which an adaptive test case generation method is used in metamorphic test cases generation. (2) A detailed case study on how to construct MRs for GIS, which kind of MRs performs better than others in fault detection. Based on these contributions, we present an alleviation solution to the test oracle problem of the GIS testing.

Select All
1.
E.J. Weyuker, The Oracle Assumption of Program Testing, in: Proceedings of the 13th International Conference on System Sciences (ICSS), Honolulu, HI, 1980, pp. 44–49
2.
F.T. Chan, T.Y. Chen, S.C. Cheung, M.F. Lau, S.M. Yiu, Application of metamorphic testing in numerical analysis, in: In Proceedings of IASTED Conference on Software Engineering 98, Las Vegas USA, 1998, pp. 191–197.
3.
T.Y. Chen, F.-C. Kuo, R.G. Merkel, T.H. Tse, Adaptive Random Testing: The ART of test case diversity, J. Syst. Softw., 83 ( 2010 ) 60–66.
4.
T.Y. Chen, F.-C. Kuo, Y. Liu, A. Tang, Metamorphic Testing and Testing with Special Values, in: SNPD, 2004, pp. 128–134.

Contact IEEE to Subscribe

References

References is not available for this document.