An automated search-based test model generation approach for structural testing of model transformations

JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS(2022)

引用 1|浏览25
暂无评分
摘要
Model transformation testing has become crucial as model-driven engineering has raised the abstraction level for developing software systems. Transformation is written to transform models from one level of abstraction to another, for example, model to model or model to code. A major challenge in testing the transformation is the creation of test models, such that (i) they conform to the source meta-model (i.e., multiplicities and Object Constraint Language [OCL] constraints on meta-model) and (ii) they provide coverage of the complete transformation (solving branch conditions for traversing all paths). Manual creation of test models requires a lot of time and effort. Still, the validity of the developed test models cannot be ensured. This paper aims to solve the above challenges using an automated search-based strategy. The proposed approach is two-stepped. First, valid test models are generated by solving source meta-model constraints. Second, the generated models are evolved for achieving the structural coverage of the transformation by solving the branch conditions. A toolset model transformation testing environment (MOTTER) is developed to automate the search-based solution. The proposed work is empirically evaluated on two case studies using four search algorithms. The result reflects that it successfully generates valid test models for achieving desired structural coverage with high performance on both the case studies.
更多
查看译文
关键词
constraint solving, instance generation, model transformation, search based, structural testing, test model
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要