Metamorphic Testing of Navigation Software: a Pilot Study with Google Maps

Total Page:16

File Type:pdf, Size:1020Kb

Metamorphic Testing of Navigation Software: a Pilot Study with Google Maps Proceedings of the 51st Hawaii International Conference on System Sciences j 2018 Metamorphic Testing of Navigation Software: A Pilot Study with Google Maps Joshua Brown, Zhi Quan Zhou£, and Yang-Wai Chow Institute of Cybersecurity and Cryptology School of Computing and Information Technology University of Wollongong Wollongong, NSW 2522, Australia Abstract—Millions of people use navigation software every day exceed 50% of the total development budget. Testing in- to commute and travel. In addition, many systems rely upon the volves executing the software under test (SUT) with a set of correctness of navigation software to function, ranging from test cases together with a mechanism against which the tester directions applications to self-driving machinery. Navigation can decide whether the outcomes of test case executions are software is difficult to test because it is hard or very expensive correct (that is, a test oracle). The oracle problem refers to evaluate its output. This difficulty is generally known as the to the situation where an oracle does not exist or it is oracle problem, a fundamental challenge in software testing. theoretically available but practically too expensive to be In this study, we propose a metamorphic testing strategy to applied. The oracle problem is a fundamental challenge in alleviate the oracle problem in testing navigation software, and software testing practice but this problem is often ignored conduct a case study by testing the Google Maps mobile app, its by the research community — compared with many other web service API, and its graphical user interface. The results aspects of testing such as automated test case generation, show that our strategy is effective with the detection of several the challenge of test oracle automation “has received signif- real-life bugs in Google Maps. This study is the first work on icantly less attention, and remains comparatively less well- automated testing of navigation software with the detection of solved” [3]. real-life bugs. There is a severe oracle problem when testing navigation Keywords: Mobile navigation software, Google Maps, di- software. This is because the real-world road networks are rections API, Web service, Graphical User Interface, software so complex that in most situations it is infeasible to validate whether or not a route returned by the navigation software testing, oracle problem, metamorphic testing, verification, val- is correct and optimal, except trivial cases. This difficulty idation. results in a scenario where developers cannot utilize con- ventional testing techniques. In fact, there has been little 1. Introduction research on automated testing of navigation software in the literature. A related study was conducted by Wright et al. The road network is a vast and complex system of [4], where they manually evaluated the position accuracy interconnecting roads and intersections which are extended and measurement accuracy (driving distance) computed by through the use of external services such as a road-ferry. In GPS receivers against a local area road map. the world, there are over 64 million kilometres of road [1] A growing body of research and industrial application and it continues to grow and change every day. Navigation has investigated the concept of metamorphic testing (MT) software is designed to plan an optimal route between two [5], [6], [7], [8], [9], [10], [11], [12], [13], [14], and has points within the constraints it has been passed; the route proven MT to be a highly effective testing paradigm for contains the directions that the user should follow to reach the detection of real-life software faults in the absence of the destination. Navigation systems are one of the most an ideal test oracle. The idea of MT is simple: Instead of popular applications on the Internet, and on smart phones. focusing on the correctness of each individual output, MT They are the most popular application installed on over looks at the relationships among the inputs and outputs of 50% of the global smart phone market [2]. Furthermore, multiple executions of the SUT. Such relationships are called these systems are mission critical applications, as their metamorphic relations (MRs), and are necessary properties failure could potentially cause traffic accidents, especially of the intended software’s functionality. For example, when when they are used for the navigation of self-driving cars. testing a web search engine, it is very hard for testers Navigation systems, therefore, must be thoroughly verified to assess the quality of the search results, such as their and validated. accuracy and completeness [8]. Nevertheless, MT can be To verify and validate software systems, testing is es- applied by identifying the following metamorphic relation: sential. It is widely accepted that, in a typical commercial A stable search engine should return similar results for sim- software development project, the cost of testing can easily ilar queries. For instance, although a search for [ today’s £Corresponding author. Email: [email protected]. Telephone: (+61-2) movies in Honolulu ] and a search for [ Honolulu 4221 5399. movies today ] may return different results, the two URI: http://hdl.handle.net/10125/50602 Page 5687 ISBN: 978-0-9981331-1-9 (CC BY-NC-ND 4.0) sets of search results should have a large intersection if the validation: The vast majority of users do not have access search engine under test is robust [8]. Because MT looks to the detailed algorithm designs and system/subsystem at the relationships among multiple SUT executions instead specifications of the navigation software they are using. of focusing on the verification of each individual output, it Without access to these specifications, the user manual or can be performed in the absence of an ideal oracle, hence online help pages are the only type of information source alleviating the oracle problem. available to the users. However, as pointed out by Zhou et al. Although the basic concept of MT is simple, it requires [8], user manuals or online help pages are usually very brief specific study when applied to different application domains and are not equivalent to the system specification defined as [9]. This is because different application areas can have “an adequate guide to building a product that will fulfill its different properties of interest to investigate. The present goals” [15]. Consequently, it is basically impossible for users paper proposes applying MT to test navigation software to evaluate the navigation system they are using against its in order to alleviate the oracle problem in testing such technical specifications or the intended algorithms. systems. A case study has been conducted with Google Zhou et al. [8] pointed out that the above phenomenon Maps, including the testing of its mobile applications, its can be quite common when testing many types of software web service APIs (namely, the Directions API), as well as its applications such as web services, poorly evolved software, Graphical User Interface (GUI) at maps.google.com. Google and open source software, and showed that MT can be an Maps was selected for the case study because it is the most effective approach to addressing these difficulties caused by popular mapping system by far [2] (except in China, where a lack of detailed knowledge about the system design and Google services could not be accessed). specifications coupled with the oracle problem. In this study we ask the following research question: For developers of the navigation systems, even if they have complete documentation and specifications, it is still ∙ RQ: Can we have a practical and effective method of automatically testing navigation systems in the face very challenging for them to test such systems because of of the severe oracle problem? the complexity of the underlying algorithms and data. As will be shown in this paper, MT can be an effective testing The contributions of this paper are summarized as fol- approach for both developers and users, as well as third- lows: party independent testers. ∙ To the best of our knowledge, this is the first work in the literature to address automated testing of nav- 2.2. Metamorphic Testing (MT) igation software. ∙ The detection of real-life bugs in Google Maps is MT [5], [8], [9] alleviates the oracle problem by testing significant, and demonstrates the effectiveness of our the SUT against prescribed MRs, which are necessary prop- approach. erties of the intended program’s behavior. The difference The testing methodology presented in this study can also between MRs and other types of program correctness prop- be applied to other forms of navigation systems beyond erties is that an MR involves multiple executions of the target Google Maps, and can be used as the foundation for future program. Even if the correctness of an individual output work in the verification and validation of similar systems cannot be verified due to the lack of an oracle, the tester can such as self-driving cars. still check whether the expected relationship among multiple The rest of this paper is organized as follows: Sec- executions is satisfied. If the MR is violated for any of the tion 2 further introduces some background knowledge and test cases, a failure is detected. describes our testing approach with a focus on the identi- For example, let p.G; x; y/ be a program that calculates fied MRs for the navigation software under test. Section 3 the shortest path from node x to node y in an undirected presents our test results by highlighting the detected defects graph G. When G is large and complex, it can be difficult to in Google Maps. Section 4 makes further discussions and verify the output of p because no oracle can be practically concludes the paper. applied. To perform MT in this situation, we can identify many MRs for the shortest path problem, one of which 2.
Recommended publications
  • How Effectively Does Metamorphic Testing Alleviate the Oracle Problem?
    This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING 1 How Effectively does Metamorphic Testing Alleviate the Oracle Problem? Huai Liu, Member, IEEE, Fei-Ching Kuo, Member, IEEE,DaveTowey,Member, IEEE, and Tsong Yueh Chen, Member, IEEE Abstract— In software testing, something which can verify the does not exist, or is too expensive to be used. This problem, correctness of test case execution results is called an oracle. The referred to as the oracle problem, is a fundamental challenge for oracle problem occurs when either an oracle does not exist, or software testing, because it significantly restricts the applicability exists but is too expensive to be used. Metamorphic testing is a and effectiveness of most test case selection strategies. testing approach which uses metamorphic relations, properties of the software under test represented in the form of relations Metamorphic testing [5] is an approach to alleviating the ora- among inputs and outputs of multiple executions, to help verify cle problem. In metamorphic testing, some necessary properties the correctness of a program. This paper presents new empirical (hereafter referred to as metamorphic relations) are identified for evidence to support this approach, which has been used to alle- the software under test, usually from the software specifications. viate the oracle problem in various applications and to enhance These metamorphic relations provide a new perspective on ver- several software analysis and testing techniques. It has been ifying test results. Traditionally, after a test case is executed, observed that identification of a sufficient number of appropriate metamorphic relations for testing, even by inexperienced testers, its corresponding test output is verified using a test oracle.
    [Show full text]
  • How Effectively Does Metamorphic Testing Alleviate the Oracle Problem?
    How effectively does metamorphic testing alleviate the oracle problem? This is the Presentation version of the following publication Liu, Huai, Kuo, FC, Towey, D and Chen, TY (2014) How effectively does metamorphic testing alleviate the oracle problem? IEEE Transactions on Software Engineering, 40 (1). 4 - 22. ISSN 0098-5589 The publisher’s official version can be found at http://ieeexplore.ieee.org/document/6613484/?reload=true Note that access to this version may require subscription. Downloaded from VU Research Repository https://vuir.vu.edu.au/33046/ This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING 1 How Effectively does Metamorphic Testing Alleviate the Oracle Problem? Huai Liu, Member, IEEE, Fei-Ching Kuo, Member, IEEE,DaveTowey,Member, IEEE, and Tsong Yueh Chen, Member, IEEE Abstract— In software testing, something which can verify the does not exist, or is too expensive to be used. This problem, correctness of test case execution results is called an oracle. The referred to as the oracle problem, is a fundamental challenge for oracle problem occurs when either an oracle does not exist, or software testing, because it significantly restricts the applicability exists but is too expensive to be used. Metamorphic testing is a and effectiveness of most test case selection strategies. testing approach which uses metamorphic relations, properties of the software under test represented in the form of relations Metamorphic testing [5] is an approach to alleviating the ora- among inputs and outputs of multiple executions, to help verify cle problem.
    [Show full text]
  • Metamorphic Testing of Navigation Software: a Pilot Study with Google Maps
    University of Wollongong Research Online Faculty of Engineering and Information Faculty of Engineering and Information Sciences - Papers: Part B Sciences 2018 Metamorphic testing of navigation software: A pilot study with Google Maps Joshua Brown University of Wollongong, [email protected] Zhiquan Zhou University of Wollongong, [email protected] Yang-Wai Chow University of Wollongong, [email protected] Follow this and additional works at: https://ro.uow.edu.au/eispapers1 Part of the Engineering Commons, and the Science and Technology Studies Commons Recommended Citation Brown, Joshua; Zhou, Zhiquan; and Chow, Yang-Wai, "Metamorphic testing of navigation software: A pilot study with Google Maps" (2018). Faculty of Engineering and Information Sciences - Papers: Part B. 1347. https://ro.uow.edu.au/eispapers1/1347 Research Online is the open access institutional repository for the University of Wollongong. For further information contact the UOW Library: [email protected] Metamorphic testing of navigation software: A pilot study with Google Maps Abstract Millions of people use navigation software every day to commute and travel. In addition, many systems rely upon the correctness of navigation software to function, ranging from directions applications to self- driving machinery. Navigation software is difficulto t test because it is hard or very expensive to evaluate its output. This difficulty is generally known as the oracle problem, a fundamental challenge in software testing. In this study, we propose a metamorphic testing strategy to alleviate the oracle problem in testing navigation software, and conduct a case study by testing the Google Maps mobile app, its web service API, and its graphical user interface.
    [Show full text]
  • Evolution, Testing and Configuration of Variability Systems Intensive José Ángel Galindo Duarte
    Evolution, testing and configuration of variability systems intensive José Ángel Galindo Duarte To cite this version: José Ángel Galindo Duarte. Evolution, testing and configuration of variability systems intensive. Other [cs.OH]. Université Rennes 1, 2015. English. NNT : 2015REN1S008. tel-01187958 HAL Id: tel-01187958 https://tel.archives-ouvertes.fr/tel-01187958 Submitted on 28 Aug 2015 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. ANNEE´ 2014 THESE` / UNIVERSITE´ DE RENNES 1 sous le sceau de l’Universite´ Europeenne´ de Bretagne En cotutelle Internationale avec Universite´ de Seville,´ Espagne pour le grade de DOCTEUR DE L’UNIVERSITE´ DE RENNES 1 Mention : informatique Ecole´ doctorale Matisse present´ ee´ par Jose´ Angel´ GALINDO DUARTE prepar´ ee´ a` l’unite´ de recherche IRISA-UMR6074 Institut de Recherche en Informatique et Systemes` Aleatoires´ INRIA These` soutenue a` Seville´ Evolution, testing le 4 mars 2015 and configuration devant le jury compose´ de : Miguel Toro Bonilla of variability Professeur de l’universite´ de Seville´ / examinateur Sergio Segura Rueda Professeur de l’universite´ de Seville´ / examinateur intensive systems Jean-Marc Jez´ equel´ Professeur de l’universite´ de Rennes 1/ examinateur Alexander Felferning Professeur de l’universite´ de Graz/ examinateur Juan Manuel Murillo Professeur de l’universite´ d’Extremadura/ rapporteur EVOLUTION, TESTING AND CONFIGURATION OF VARIABILITY INTENSIVE SYSTEMS JOSE´ A.
    [Show full text]
  • 4 Metamorphic Testing: a Review of Challenges and Opportunities
    Metamorphic Testing: A Review of Challenges and Opportunities TSONG YUEH CHEN and FEI-CHING KUO, Swinburne University of Technology HUAI LIU, Victoria University PAK-LOK POON, RMIT University DAVE TOWEY, University of Nottingham Ningbo China T. H. TSE, The University of Hong Kong ZHI QUAN ZHOU, University of Wollongong Metamorphic testing is an approach to both test case generation and test result verification. A central ele- ment is a set of metamorphic relations, which are necessary properties of the target function or algorithm in relation to multiple inputs and their expected outputs. Since its first publication, we have witnessed a rapidly increasing body of work examining metamorphic testing from various perspectives, including metamorphic relation identification, test case generation, integration with other software engineering techniques, andthe validation and evaluation of software systems. In this article, we review the current research of metamorphic testing and discuss the challenges yet to be addressed. We also present visions for further improvement of metamorphic testing and highlight opportunities for new research. 4 CCS Concepts: • Software and its engineering → Software verification and validation; Software test- ing and debugging; Additional Key Words and Phrases: Metamorphic testing, metamorphic relation, test case generation, oracle problem ACM Reference format: Tsong Yueh Chen, Fei-Ching Kuo, Huai Liu, Pak-Lok Poon, Dave Towey, T. H. Tse, and Zhi Quan Zhou. 2018. Metamorphic Testing: A Review of Challenges and Opportunities. ACM Comput. Surv. 51, 1, Article 4 (January 2018), 27 pages. https://doi.org/10.1145/3143561 This research was supported in part by a linkage grant of the Australian Research Council (project ID LP160101691) and a grant of the General Research Fund of the Research Grants Council of Hong Kong (project no.
    [Show full text]
  • Metamorphic Testing Techniques to Detect Defects in Applications Without Test Oracles
    Metamorphic Testing Techniques to Detect Defects in Applications without Test Oracles Christian Murphy Submitted in partial fulfillment of the Requirements for the degree of Doctor of Philosophy in the Graduate School of Arts and Sciences COLUMBIA UNIVERSITY 2010 c 2010 Christian Murphy All Rights Reserved Abstract Metamorphic Testing Techniques to Detect Defects in Applications without Test Oracles Christian Murphy Applications in the fields of scientific computing, simulation, optimization, machine learning, etc. are sometimes said to be “non-testable programs” because there is no reliable test oracle to indicate what the correct output should be for arbitrary input. In some cases, it may be impossible to know the program’s correct output a priori; in other cases, the creation of an oracle may simply be too hard. These applications typically fall into a category of software that Weyuker describes as “Programs which were written in order to determine the answer in the first place. There would be no need to write such programs, if the correct answer were known.” The absence of a test oracle clearly presents a challenge when it comes to detecting subtle errors, faults, defects or anomalies in software in these domains. As these types of programs become more and more prevalent in various aspects of everyday life, the dependability of software in these domains takes on increasing impor- tance. Machine learning and scientific computing software may be used for critical tasks such as helping doctors perform a medical diagnosis or enabling weather forecasters to more accurately predict the paths of hurricanes; hospitals may use simulation software to understand the impact of resource allocation on the time patients spend in the emergency room.
    [Show full text]
  • A Survey on Metamorphic Testing
    This is a repository copy of A Survey on Metamorphic Testing. White Rose Research Online URL for this paper: http://eprints.whiterose.ac.uk/110335/ Version: Accepted Version Article: Segura, S., Fraser, G., Sanchez, A.B. et al. (1 more author) (2016) A Survey on Metamorphic Testing. IEEE Transactions on Software Engineering, 42 (9). pp. 805-824. ISSN 0098-5589 https://doi.org/10.1109/TSE.2016.2532875 © 2016 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other users, including reprinting/ republishing this material for advertising or promotional purposes, creating new collective works for resale or redistribution to servers or lists, or reuse of any copyrighted components of this work in other works. Reproduced in accordance with the publisher's self-archiving policy. Reuse Unless indicated otherwise, fulltext items are protected by copyright with all rights reserved. The copyright exception in section 29 of the Copyright, Designs and Patents Act 1988 allows the making of a single copy solely for the purpose of non-commercial research or private study within the limits of fair dealing. The publisher or other rights-holder may allow further reproduction and re-use of this version - refer to the White Rose Research Online record for this item. Where records identify the publisher as the copyright holder, users can verify any specific terms of use on the publisher’s website. Takedown If you consider content in White Rose Research Online to be in breach of UK law, please notify us by emailing [email protected] including the URL of the record and the reason for the withdrawal request.
    [Show full text]
  • Metamorphic Testing: a Review of Challenges and Opportunities
    University of Wollongong Research Online Faculty of Engineering and Information Faculty of Engineering and Information Sciences - Papers: Part B Sciences 2018 Metamorphic Testing: A Review of Challenges and Opportunities Tsong Yueh Chen Swinburne University of Technology, [email protected] Fei-Ching Kuo Swinburne University of Technology, [email protected] Huai Liu Victoria University, [email protected] Pak-Lok Poon [email protected] Dave Towey United International College, University of Nottingham China Campus See next page for additional authors Follow this and additional works at: https://ro.uow.edu.au/eispapers1 Part of the Engineering Commons, and the Science and Technology Studies Commons Recommended Citation Chen, Tsong Yueh; Kuo, Fei-Ching; Liu, Huai; Poon, Pak-Lok; Towey, Dave; Tse, T. H.; and Zhou, Zhi Quan, "Metamorphic Testing: A Review of Challenges and Opportunities" (2018). Faculty of Engineering and Information Sciences - Papers: Part B. 975. https://ro.uow.edu.au/eispapers1/975 Research Online is the open access institutional repository for the University of Wollongong. For further information contact the UOW Library: [email protected] Metamorphic Testing: A Review of Challenges and Opportunities Abstract Metamorphic testing is an approach to both test case generation and test result verification. A central element is a set of metamorphic relations, which are necessary properties of the target function or algorithm in relation to multiple inputs and their expected outputs. Since its first publication, we have witnessed a rapidly increasing body of work examining metamorphic testing from various perspectives, including metamorphic relation identification, test case generation, integration with other software engineering techniques, and the validation and evaluation of software systems.
    [Show full text]
  • Metamorphic Testing: Testing the Untestable
    This is the author's version of an article that has been published in this journal. Changes were made to this version by the publisher prior to publication. The final version of record is available at http://dx.doi.org/10.1109/MS.2018.2875968 Metamorphic Testing: Testing the Untestable Sergio Segura Department of Computer Languages and Systems, University of Seville, Spain. Dave Towey School of Computer Science, University of Nottingham Ningbo China, China. Zhi Quan Zhou Institute of Cybersecurity and Cryptology, School of Computing and Information Technology, University of Wollongong, Australia. Tsong Yueh Chen Department of Computer Science and Software Engineering, Swinburne University of Technology, Australia ABSTRACT. What if we could know that a program is buggy, even if we could not tell whether or not its observed output is correct? This is one of the key strengths of metamorphic testing, a technique where failures are not revealed by checking an individual concrete output, but by checking the relations among the inputs and outputs of multiple executions of the program under test. Two decades after its introduction, metamorphic testing has become a fully-fledged testing technique with successful applications in multiple domains, including online search engines, autonomous machinery, compilers, Web APIs, and deep learning programs, among others. This article serves as a hands-on entry point for newcomers to metamorphic testing, describing examples, possible applications, and current limitations, providing readers with the basics for the application of the technique in their own projects. Keywords: Software testing, metamorphic testing, oracle problem, test case generation. Introduction Suppose you are helping your son with his homework.
    [Show full text]
  • Metamorphic Robustness Testing of Google Translate
    Postprint of article in IEEE/ACM 5th International Workshop on Metamorphic Testing (MET’20), Proceedings of the IEEE/ACM 42nd International Conference on Software Engineering Workshops (ICSEW’20), ACM, New York, NY Metamorphic Robustness Testing of Google Translate Dickson T. S. Lee Zhi Quan Zhou T. H. Tse Department of Computer Science School of Computing and IT Department of Computer Science The University of Hong Kong University of Wollongong The University of Hong Kong Pokfulam, Hong Kong Wollongong, NSW 2522, Australia Pokfulam, Hong Kong [email protected] [email protected] [email protected] ABSTRACT or stressful environmental conditions”. While developers strive to ensure that the software performs the intended functionality cor- Current research on the testing of machine translation software rectly for valid inputs, there is often a lack of negative testing to mainly focuses on functional correctness for valid, well-formed ensure that the software can also reasonably handle invalid inputs. inputs. By contrast, robustness testing, which involves the ability Suppose we want to translate the sentence “Peter LOVES of the software to handle erroneous or unanticipated inputs, is often apples.” into Chinese using Google Translate, which is available at overlooked. In this paper, we propose to address this important https://translate.google.com. We want to stress the word “LOVE” shortcoming. Using the metamorphic robustness testing approach, and hence type it in caps. We end the sentence with a period as per we compare the translations of original inputs with those of follow- usual practice. Suppose we have made a careless mistake by typing up inputs having different categories of minor typos.
    [Show full text]
  • Testing Web Enabled Simulation at Scale Using Metamorphic Testing
    Testing Web Enabled Simulation at Scale Using Metamorphic Testing John Ahlgren, Maria Eugenia Berezin, Kinga Bojarczuk, Elena Dulskyte, Inna Dvortsova, Johann George, Natalija Gucevska, Mark Harman, Maria Lomeli, Erik Meijer, Silvia Sapora, and Justin Spahr-Summers FACEBOOK Inc. Abstract—We report on Facebook’s deployment of MIA (Meta- Since the decisions made from the results of these sim- morphic Interaction Automaton). MIA is used to test Facebook’s ulations are so fundamental, their predictions and the code Web Enabled Simulation, built on a web infrastructure of on which they are based acquire paramount importance. The hundreds of millions of lines of code. MIA tackles the twin problems of test flakiness and the unknowable oracle problem. consequences of (perhaps subtle, yet pivotal) bugs are clearly It uses metamorphic testing to automate continuous integration among the most impactful facing any software engineer. In and regression test execution. MIA also plays the role of a test order to improve testing of simulation-based systems, more bot, automatically commenting on all relevant changes submitted work is needed to address the problems of test flakiness and for code review. It currently uses a suite of over 40 metamorphic the oracle problem. test cases. Even at this extreme scale, a non–trivial metamorphic test suite subset yields outcomes within 20 minutes (sufficient for Based on metamorphic testing, we have been deploying an continuous integration and review processes). Furthermore, our automated test infrastructure for our web-enabled simulation, offline mode simulation reduces test flakiness from approximately WW, at Facebook, that tackles these twin problems of oracles 50% (of all online tests) to 0% (offline).
    [Show full text]
  • Metamorphic Testing: Testing the Untestable
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Nottingham ePrints Metamorphic Testing: Testing the Untestable Segura, S., Towey, D., Zhou, Z.Q., Chen, T.Y. University of Nottingham Ningbo China, 199 Taikang East Road, Ningbo, 315100, Zhejiang, China. First published 2018 This work is made available under the terms of the Creative Commons Attribution 4.0 International License: http://creativecommons.org/licenses/by/4.0 The work is licenced to the University of Nottingham Ningbo China under the Global University Publication Licence: https://www.nottingham.edu.cn/en/library/documents/research- support/global-university-publications-licence.pdf This is the author's version of an article that has been published in this journal. Changes were made to this version by the publisher prior to publication. The final version of record is available at http://dx.doi.org/10.1109/MS.2018.2875968 Metamorphic Testing: Testing the Untestable Sergio Segura Department of Computer Languages and Systems, University of Seville, Spain. Dave Towey School of Computer Science, University of Nottingham Ningbo China, China. Zhi Quan Zhou Institute of Cybersecurity and Cryptology, School of Computing and Information Technology, University of Wollongong, Australia. Tsong Yueh Chen Department of Computer Science and Software Engineering, Swinburne University of Technology, Australia ABSTRACT. What if we could know that a program is buggy, even if we could not tell whether or not its observed output is correct? This is one of the key strengths of metamorphic testing, a technique where failures are not revealed by checking an individual concrete output, but by checking the relations among the inputs and outputs of multiple executions of the program under test.
    [Show full text]