Performance Metamorphic Testing: Motivation and Challenges

Autor: Segura Rueda, Sergio, Troya Castilla, Javier, Durán Toro, Amador, Ruiz Cortés, Antonio
Přispěvatelé: Universidad de Sevilla. Departamento de Lenguajes y Sistemas Informáticos, Universidad de Sevilla. TIC205: Ingeniería del Software Aplicada
Rok vydání: 2017
Předmět:
Zdroj: idUS. Depósito de Investigación de la Universidad de Sevilla
instname
Popis: Performance testing is a challenging task mainly due to the lack of test oracles, that is, mechanisms to decide whether the performance of a program under a certain workload is either acceptable or poor due to a performance bug. Metamorphic testing enables the generation of test cases in the absence of an oracle by exploiting the relations (so–called metamorphic relations) between the inputs and outputs of multiple executions of the program under test. In the last two decades, metamorphic testing has been successfully used to detect functional faults in a variety of domains, ranging from web services to simulators. However, the applicability of metamorphic testing to detect performance bugs is a topic that remains unexplored. In this vision paper, we introduce Performance Metamorphic Relations (PMRs) as expected relations between the performance measurements of multiple executions of the program under test. We hypothesize that these relations can be turned into assertions for the automated detection of performance bugs removing the need for complex benchmarks and domain experts guidance. As a further benefit, PMRs can be turned into fitness functions to guide search-based techniques on the generation of test data that violate the relations, revealing bugs. This novel idea is motivated with examples and an overview of some of the challenges in this promising topic. Comisión Interministerial de Ciencia y Tecnología TIN2015-70560-R Ministerio de Economía, Industria y Competitividad TIN2015-71841-RED Junta de Andalucía P12-TIC-1867
Databáze: OpenAIRE