arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1804.11121cs.SE
收藏

模型转换中的变形测试自动化

Towards the Automation of Metamorphic Testing in Model Transformations

Javier Troya, Sergio Segura, Antonio Ruiz-Cortés

摘要:

模型转换是模型驱动工程的基石,并提供了操纵和转换模型的基本机制。检查模型转换的输出是否正确是一项手动且容易出错的任务,这在软件测试文献中被称为Oracle问题。模型转换程序的正确性对于正确生成其输出至关重要,因此应对其进行测试。变形测试是一种缓解预言问题的测试技术,它利用被测程序的不同输入和输出之间的关系,即所谓的变形关系。在本文中,我们给出了一个洞察我们的方法来一般定义模型转换的变形关系,它可以自动实例化给定任何特定的模型转换。

英文摘要:

Model transformations are the cornerstone of Model-Driven Engineering, and 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, this is referred to as the oracle problem in the software testing literature. The correctness of the model transformation program is crucial for the proper generation of its output, so it should be tested. Metamorphic testing is a testing technique to alleviate the oracle problem consisting on exploiting the relations between different inputs and outputs of the program under test, so-called metamorphic relations. In this paper we give an insight into our approach to generically define metamorphic relations for model transformations, which can be automatically instantiated given any specific model transformation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑