Model-based mutation analysis is a recent research area, and real-time system testing can benefit from using model mutants. Model-based mutation testing (MBMT) is a particular branch of model-based testing. It generates faulty versions of a model using mutation operators to evaluate and improve test cases. Mutation testing is an effective way to ensure software correctness and has been applied to various application areas. Simulink is a vital modeling language for real-time systems. This paper introduces Simulink model mutation analysis to improve Model-in-the-loop (MIL) testing. We propose a set of Simulink mutation operators based on AUTOSAR, which reflects the temporal correctness when a Simulink model is mapped to Operating System tasks. We implement a mutation framework that generates mutants for implicit clock Simulink models. Finally, we demonstrate how this framework generates mutants to reveal task interference issues in the simulation. Our work integrates the Simulink model with the timed systems to better support mutation testing automation.
翻译:基于模型的突变分析是一个最近的研究领域,实时系统测试可以从使用模型变异体中受益。基于模型的突变测试(MBMT)是基于模型的测试的一个特定分支。它生成了使用突变操作器评估和改进测试案例的模型的错误版本。突变测试是确保软件正确性的有效方法,并已应用于各种应用领域。模拟测试是实时系统的一种至关重要的模型语言。本文介绍了Simmlink模型突变分析,以改进模型在运行系统中的测试。我们根据AUTOSAR提出了一套Siminglink突变操作器,它反映了为操作系统任务绘制Siminglink模型时的时间正确性。我们实施了一个突变框架,为隐性时钟Simmlink模型生成变异体。最后,我们演示了这个框架如何生成变异体在模拟中揭示任务干扰问题。我们的工作将Simlink模型与时间系统结合起来,以更好地支持突变自动化。