BARRIERS TO SYSTEMATIC MODEL TRANSFORMATION TESTING
Presented By: Lobna AbuSerrieh
Benoit Baudry, Sudipto Ghosh, Franck Fleurey, Robert France, Yves Le Traon, Jean-Marie Mottu
1
BARRIERS TO SYSTEMATIC MODEL TRANSFORMATION TESTING Benoit Baudry, - - PowerPoint PPT Presentation
1 BARRIERS TO SYSTEMATIC MODEL TRANSFORMATION TESTING Benoit Baudry, Sudipto Ghosh, Franck Fleurey, Robert France, Yves Le Traon, Jean-Marie Mottu Presented By: Lobna AbuSerrieh Contents 2 Model Driven Engineering Model Transformation
Benoit Baudry, Sudipto Ghosh, Franck Fleurey, Robert France, Yves Le Traon, Jean-Marie Mottu
1
2
Model Driven Engineering Model Transformation Testing Example Characteristics / barriers of Model Transformation testing Approaches to overcome these barriers
3
4
Flattening a state machine
5
A Hierarchical State Machine Metamodel
6
It is usually necessary to define constraints more
OCL is commonly used to define additional constraints.
7
The correctness of transformation is essential to the
A fault in transformation can introduce a fault in the
Since model transformations are meant to be reused,
8
Testing :
Testing Model Transformation:
1.
2.
3.
9
Test Model for the Flattening Transformation
10
Model transformation has some unique characteristics
1.
2.
3.
11
Model transformation has some unique characteristics
1.
2.
3.
12
Models are often large. The metamodels can themselves be large & complex. Additional constraints using OCL increases the metamodel
OCL is a rich language with which it is possible to define
13
This complexity affects the generation of test models.
It is possible to define a large number of test adequacy
However, lack of historical data makes it difficult to
14 Output Complexity complicates the oracle problem. 1.
2.
15
Model transformation has some unique characteristics
1.
2.
3.
16 The construction of models involves either:
Visualizing output models is difficult because graphical editors
A confusing layout complicates manual analysis and the
17
Model transformation has some unique characteristics
1.
2.
3.
18 A Large number of model transformation languages and
Transformations can be implemented with general purpose
Testing techniques need to take this diversity into account.
19 A constructive approach where models are built first and the
Limitation: Large number of of generated models do not
Use SAT solvers to deal with a larger amount of constraints and
20
1.
2.
3.
4.
21 Model differencing: compares the model produced after
Versioning of models can benefit testing.
22 Dealing with this issue can be tackled by:
23 Some of the major challenges are identified. Solutions to some of the testing problems exist, but need more
A benchmark of realistic models and model transformations
24