【24h】

Performance Metamorphic Testing: Motivation and Challenges

机译:性能变形测试:动机和挑战

获取原文
获取原文并翻译 | 示例

摘要

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.
机译:性能测试是一项具有挑战性的任务,主要是由于缺少测试预言,即用于确定在某个工作负载下程序的性能是否由于性能错误而可接受还是较差的机制。变形测试通过利用被测程序的多个执行的输入和输出之间的关系(所谓的变形关系),可以在没有Oracle的情况下生成测试用例。在过去的二十年中,变形测试已成功用于检测从Web服务到模拟器的各种领域中的功能故障。但是,通过变形测试来检测性能错误的适用性仍然是一个尚未探讨的话题。在本愿景文件中,我们介绍了性能变形关系(PMR),作为被测程序多次执行的性能度量之间的预期关系。我们假设可以将这些关系转换为断言,以自动检测性能错误,从而无需复杂的基准和领域专家指导。另一个好处是,PMR可以转换为适应度函数,以指导基于搜索的技术生成违反关系的测试数据,从而揭示错误。这个新颖的想法是通过实例和此有希望的主题中的一些挑战的概述来激发的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号