首页> 外文期刊>Automated software engineering >Example-based model-transformation testing
【24h】

Example-based model-transformation testing

机译:基于示例的模型转换测试

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

摘要

A major concern in model-driven engineering is how to ensure the quality of the model-transformation mechanisms. One validation method that is commonly used is model transformation testing. When using this method, two important issues need to be addressed: the efficient generation/selection of test cases and the definition of oracle functions that assess the validity of the transformed models. This work is concerned with the latter. We propose a novel oracle function for model transformation testing that relies on the premise that the more a transformation deviates from well-known good transformation examples, the more likely it is erroneous. More precisely, the proposed oracle function compares target test cases with a base of examples that contains good quality transformation traces, and then assigns a risk level to them accordingly. Our approach takes inspiration from the biological metaphor of immune systems, where pathogens are identified by their difference with normal body cells. A significant feature of the approach is that one no longer needs to define an expected model for each test case. Furthermore, the detected faulty candidates are ordered by degree of risk, which helps the tester inspect the results. The validation results on a transformation mechanism used by an industrial partner confirm the effectiveness of our approach.
机译:模型驱动工程中的一个主要问题是如何确保模型转换机制的质量。常用的一种验证方法是模型转换测试。使用这种方法时,需要解决两个重要问题:测试用例的有效生成/选择以及评估转换后模型的有效性的oracle函数的定义。这项工作与后者有关。我们提出了一种新颖的用于模型转换测试的oracle函数,该函数依赖于这样一个前提,即转换与已知的良好转换示例的偏离越大,则错误的可能性就越大。更准确地说,建议的oracle函数将目标测试用例与包含良好转换痕迹的示例基础进行比较,然后为它们分配风险级别。我们的方法从免疫系统的生物学隐喻中获得启发,在该隐喻中,病原体是通过与正常人体细胞的差异来识别的。该方法的一个重要特征是,不再需要为每个测试用例定义期望的模型。此外,根据风险程度对检测到的错误候选进行排序,这有助于测试人员检查结果。工业伙伴使用的转换机制的验证结果证实了我们方法的有效性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号