Testing models and model transformations using classifying terms

被引:26
作者
Hilken, Frank [1 ]
Gogolla, Martin [2 ]
Burgueno, Loli [3 ]
Vallecillo, Antonio [3 ]
机构
[1] Univ Bremen, Database Syst Res Grp, Bremen, Germany
[2] Univ Bremen, Comp Sci, Bremen, Germany
[3] Univ Malaga, Malaga, Spain
关键词
Model transformations; Contract-based specifications; Equivalence partitioning; PARTITION; UML;
D O I
10.1007/s10270-016-0568-3
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper proposes the use of equivalence partitioning techniques for testing models and model transformations. In particular, we introduce the concept of classifying terms, which are general OCL terms on a class model enriched with OCL constraints. Classifying terms permit defining equivalence classes, in particular for partitioning the source and target model spaces of the transformation, defining for each class a set of equivalent models with regard to the transformation. Using these classes, a model validator tool is able to automatically construct object models for each class, which constitute relevant test cases for the transformation. We show how this approach of guiding the construction of test cases in an orderly, systematic and efficient manner can be effectively used in combination with Tracts for testing both directional and bidirectional model transformations and for analyzing their behavior.
引用
收藏
页码:885 / 912
页数:28
相关论文
共 61 条
[1]  
Amrani M., 2014, CEUR WS, V1325
[2]   On challenges of model transformation from UML to Alloy [J].
Anastasakis, Kyriakos ;
Bordbar, Behzad ;
Georg, Geri ;
Ray, Indrakshi .
SOFTWARE AND SYSTEMS MODELING, 2010, 9 (01) :69-86
[3]   Test adequacy criteria for UML design models [J].
Andrews, A ;
France, R ;
Ghosh, S ;
Craig, G .
SOFTWARE TESTING VERIFICATION & RELIABILITY, 2003, 13 (02) :95-127
[4]  
[Anonymous], 2011, Systems and software engineeringSystems and software Quality Requirements and Evaluation (SQuaRE)-System and software quality models (25010:2011)
[5]  
[Anonymous], SOFTW SYST MODEL
[6]  
[Anonymous], 2015, MET FAC MOF 2 0 QUER
[7]  
[Anonymous], 2011, 250222016 ISOIEC
[8]  
Aranega V., 2009, P ICSOFT 09
[9]   Evaluating the effect of a delegated versus centralized control style on the maintainability of object-oriented software [J].
Arisholm, E ;
Sjoberg, DIK .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2004, 30 (08) :521-534
[10]  
Baudry B., 2006, ECMDA WS INTEGRATION