首页> 外文期刊>Information and software technology >Pareto efficient multi-objective black-box test case selection for simulation-based testing
【24h】

Pareto efficient multi-objective black-box test case selection for simulation-based testing

机译:用于基于模拟的测试的帕累托高效多目标黑盒测试用例选择

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

摘要

Context In many domains, engineers build simulation models (e.g., Simulink) before developing code to simulate the behavior of complex systems (e.g., Cyber-Physical Systems). Those models are commonly heavy to simulate which makes it difficult to execute the entire test suite. Furthermore, it is often difficult to measure white-box coverage of test cases when employing such models. In addition, the historical data related to failures might not be available.Objective: The objective of the approach presented in this paper is to cost-effectively select test cases without making use of white-box coverage information or historical data related to fault detection.Method: We propose a cost-effective approach for test case selection that relies on black-box data related to inputs and outputs of the system. The approach defines in total six effectiveness measures and one cost measure followed by deriving in total 21 objective combinations and integrating them within Non-Dominated Sorting Genetic Algorithm-II (NSGA-II). The proposed six effectiveness metrics are specific to simulation models and are based on anti-patterns and similarity measures.Results: We empirically evaluated our approach with these 21 combinations using six case studies by employing mutation testing to assess the fault revealing capability. We compared our approach with Random Search (RS), two many-objective algorithm, as well as three white-box metrics. The results demonstrated that our approach managed to improve Random Search by up to around 28% in terms of the Hypervolume quality indicator. Similarly, black-box metrics-based test case selection also significantly outperformed those of white-box metrics.Conclusion: We demonstrate that test case selection is a non-trivial problem in the context of simulation models. We also show that the proposed effectiveness metrics performed significantly better than traditional white-box metrics. Thus, we show that black-box test selection approaches are appropriate to solve the test case selection problem within simulation models.
机译:背景技术在许多领域中,工程师在开发代码以仿真复杂系统(例如,计算机物理系统)的行为之前,先建立仿真模型(例如Simulink)。这些模型通常难以模拟,因此很难执行整个测试套件。此外,采用这种模型时,通常很难衡量测试用例的白盒覆盖率。此外,与故障有关的历史数据可能不可用。目的:本文介绍的方法的目的是经济高效地选择测试用例,而无需利用白盒覆盖率信息或与故障检测有关的历史数据。方法:我们提出了一种经济高效的测试用例选择方法,该方法依赖于与系统输入和输出有关的黑匣子数据。该方法总共定义了六个有效性度量和一个成本度量,然后得出总共21个目标组合,并将其整合到非支配排序遗传算法II(NSGA-II)中。拟议的六个有效性指标是针对仿真模型的,并基于反模式和相似性度量。结果:我们使用六个案例研究,通过采用突变测试评估故障显示能力,对这21种组合进行了经验评估。我们将我们的方法与随机搜索(RS),两个多目标算法以及三个白盒指标进行了比较。结果表明,根据“超量”质量指标,我们的方法设法将随机搜索提高了约28%。同样,基于黑盒指标的测试用例选择也明显优于白盒指标。结论:我们证明了在模拟模型的背景下测试用例的选择不是一个简单的问题。我们还表明,提出的有效性指标的性能明显优于传统的白盒指标。因此,我们表明黑盒测试选择方法适合解决仿真模型中的测试用例选择问题。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号