Ponencia
Metamorphic Relation Patterns for Query-Based Systems
Autor/es | Segura Rueda, Sergio
Durán Toro, Amador Troya Castilla, Javier Ruiz Cortés, Antonio |
Departamento | Universidad de Sevilla. Departamento de Lenguajes y Sistemas Informáticos |
Fecha de publicación | 2019 |
Fecha de depósito | 2021-03-12 |
Publicado en |
|
ISBN/ISSN | 978-1-7281-2235-9 |
Resumen | Searching and displaying data based on user queries is a key feature of most software applications such as information systems, web portals, web APIs, and data analytic platforms. The large volume of data managed by these ... Searching and displaying data based on user queries is a key feature of most software applications such as information systems, web portals, web APIs, and data analytic platforms. The large volume of data managed by these types of systems, henceforth called query-based systems (QBS), makes them extremely hard to test due to the difficulty to assess whether the output of a query is correct, the so-called oracle problem. Metamorphic testing has proved to be a very effective approach to alleviate the oracle problem in QBS, enabling the detection of bugs in data repositories, large e-commerce sites, and some of the most used software applications worldwide such as Google Search and YouTube. We have observed, however, that the metamorphic relations used to test different types of QBS are very similar, regardless of their domain, since all of them exploit standard query features such as filtering and ordering. Inspired by this finding, in this paper we present a catalogue of metamorphic relation patterns to assist testers in the identification and inference of metamorphic relations in QBS. For the definition of the patterns we resorted to the root of most query languages: relational algebra. We show how the proposed patterns help in the identification of metamorphic relations in the e-commerce platform PrestaShop, the email service Gmail, and the mobile application of video streaming HBO. |
Agencias financiadoras | Comisión Interministerial de Ciencia y Tecnología (CICYT). España |
Identificador del proyecto | TIN2015-70560-R |
Cita | Segura Rueda, S., Durán Toro, A., Troya Castilla, J. y Ruiz Cortés, A. (2019). Metamorphic Relation Patterns for Query-Based Systems. En MET 2019: IEEE/ACM 4th International Workshop on Metamorphic Testing Montreal, QC, Canada: IEEE Computer Society. |
Ficheros | Tamaño | Formato | Ver | Descripción |
---|---|---|---|---|
Metamorphic Relation Patterns ... | 5.367Mb | [PDF] | Ver/ | |