首页> 外文期刊>The Journal of Systems and Software >Automated inference of likely metamorphic relations for model transformations
【24h】

Automated inference of likely metamorphic relations for model transformations

机译:自动推断模型转换的可能变质关系

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

摘要

Model transformations play a cornerstone role in Model-Driven Engineering (MDE) as they provide the essential mechanisms for manipulating and transforming models. Checking whether the output of a model transformation is correct is a manual and error-prone task, referred to as the oracle problem. Metamorphic testing alleviates the oracle problem by exploiting the relations among different inputs and outputs of the program under test, so-called metamorphic relations (MRs). One of the main challenges in metamorphic testing is the automated inference of likely MRs. This paper proposes an approach to automatically infer likely MRs for ATL model transformations, where the tester does not need to have any knowledge of the transformation. The inferred MRs aim at detecting faults in model transformations in three application scenarios, namely regression testing, incremental transformations and migrations among transformation languages. In the experiments performed, the inferred likely MRs have proved to be quite accurate, with a precision of 96.4% from a total of 4101 true positives out of 4254 MRs inferred. Furthermore, they have been useful for identifying mutants in regression testing scenarios, with a mutation score of 93.3%. Finally, our approach can be used in conjunction with current approaches for the automatic generation of test cases.
机译:模型转换在模型驱动工程(MDE)中起着基石作用,因为它们提供了操纵和转换模型的基本机制。检查模型转换的输出是否正确是一项手动且容易出错的任务,称为oracle问题。变形测试通过利用被测程序的不同输入和输出之间的关系(所谓的变形关系(MRs))减轻了oracle问题。变态测试中的主要挑战之一是可能的MR的自动推断。本文提出了一种自动推断ATL模型转换可能的MR的方法,其中测试人员无需了解转换的任何知识。推断的MR旨在在三种应用场景中检测模型转换中的故障,即回归测试,增量转换和转换语言之间的迁移。在进行的实验中,推断出的可能的MR已被证明是非常准确的,在推断出的4254个MR中,总共4101个真实阳性的准确性为96.4%。此外,它们对于在回归测试场景中识别突变体很有用,突变得分为93.3%。最后,我们的方法可以与当前方法结合使用,以自动生成测试用例。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号