6 CONCLUSIONS AND FUTURE
WORKS
Verification of SysML consistency and validation of
model transformation allow to improve the quality
of critical systems design process. In this paper, we
have presented an approach to verify the model con-
sistency in regards of design rules. We have used an
ATL transformation to generate problems from SysML
models. Indeed, ATL provides an engine that automat-
ically browses the source meta-model to execute the
transformation process. Consequently, this technique
is relevant to verify the modeling process in order to
generate correct code, i.e. which does not contain any
syntactic or semantic errors.
An approach to validate model-to-model transfor-
mation with EUnit has been presented. This approach
is part of a larger work and provides a way to validate
our transformation toolchain by using white-box test-
ing method. The decision coverage criterion used and
presented in this paper allows to ensure the exhaus-
tive coverage of ATL rules. Moreover, unit tests could
be automatically executed in a continuous integration
manner and Test Driven Development context.
Further challenges have been identified in the do-
main of model transformation testing. The main limit
of this approach is that the user has to define and write
test cases and expected outputs. The automatic gener-
ation of test cases for model transformation has been
discussed in several works and it would be possible
to implement such a tool to generate test models with
the same coverage criteria for ATL rules. For instance,
the automatic generation of SysML models from the
interpretation of header and from section of ATL rules.
Finally, the Acceleo model-to-text transformation
has not been validated by unit tests, even if it has been
validated with several experiments. It would be inter-
esting to define a dedicated unit testing approach to
validate Acceleo templates.
ACKNOWLEDGEMENTS
We would like to acknowledge the support of the
Regional Council of Franche-Comt
´
e with the SyVad
project (http://syvad.univ-fcomte.fr/syvad/) and the
ANR-2011-BS-03-005 Smart Blocks project.
REFERENCES
Acceleo (2012). Acceleo Documentation. http://
www.eclipse.org/acceleo/.
ATL (2012). ATL Documentation. http:// www.eclipse.org/
atl/.
Baudry, B., Dinh-trong, T., Mottu, J.-M., Simmonds, D.,
France, R., Ghosh, S., Fleurey, F., and Traon, Y. L.
(2006). Model Transformation Testing Challenges. In
Proceedings of IMDT workshop, Bilbao, Spain.
Christen, E. and Bakalar, K. (1999). VHDL-AMS-a hard-
ware description language for analog and mixed-
signal applications. IEEE Transactions on Circuits
and Systems II: Analog and Digital Signal Process-
ing, 46(10):1263–1272.
Erwan, B., Franck, F., Jim, S., Benoit, B., and Traon, Y. L.
(2006). Metamodel-based Test Generation for Model
Transformations: an Algorithm and a Tool. In Pro-
ceedings of the 17
th
International Symposium on Soft-
ware Reliability Engineering (ISSRE’06), pages 85–
94, Washington, DC, USA. IEEE CS.
Fleurey, F., Steel, J., and Baudry, B. (2004). Validation
in model-driven engineering: testing model transfor-
mations. In Int. Workshop on Model, Design and
Validation (MODEVA’04), pages 29–40, Saint-Malo,
France.
Friedenthal, S., Moore, A., and Steiner, R. (2009). A Prac-
tical Guide to SysML: The Systems Modeling Lan-
guage. Morgan Kaufmann. ISBN 9780123743794.
Garcia-Domnguez, A., Kolovos, D., Dimitrios, S., Rose, L.,
Paige, R., and Medina-Bulo, I. (2011). EUnit: a unit
testing framework for model management tasks. In
Proceedings of the 14
th
Int. Conf. on MOdel-Driven
Engineering Languages and Systems (MODELS’11),
pages 395–409, Berlin, Germany. Springer-Verlag.
Gauthier, J.-M., Bouquet, F., Hammad, A., and Peureux, F.
(2012). Transformation of SysML structure diagrams
to VHDL-AMS. In IEEE Workshop on design, control
and software implementation for distributed MEMS
(dMEMS’12), Besanc¸on, France. IEEE CPS.
Jochen, K. and Mohamed, A.-E.-R. (2006). Validation of
Model Transformations - First Experiences Using a
White Box Approach. In Int. Workshop on Model,
Design and Validation (MODEVA’06), pages 62–77,
Genova, Italy.
Mottu, J.-M., Baudry, B., and Traon, Y. L. (2008). Model
transformation testing: oracle issue. In Int. Workshop
on Model, Design and Validation (MODEVA’08),
Lillehammer, Norway.
Myers, G., Sandler, C., Badgett, T., and Thomas, T. (2004).
The Art of Software Testing. Wiley, 2
nd
edition. ISBN
978-0-4714-6912-4.
Rumbaugh, J., Jacobson, I., and Booch, G. (2004). The Uni-
fied Modeling Language Reference Manual. Addison-
Wesley, 2
nd
edition. ISBN 0321245628.
Sagar, S., Baudry, B., and Mottu, J.-M. (2008). On Com-
bining Multi-formalism Knowledge to Select Models
for Model Transformation Testing. In International
Conference on Software Testing, Verification, and Val-
idation (ICST’08), Lillehammer, Norway.
Sagar, S., Baudry, B., and Mottu, J.-M. (2009). Automatic
Model Generation Strategies for Model Transforma-
tion Testing. In Theory and Practice of Model Trans-
formations, volume 5563 of LNCS, pages 148–164.
Springer.
TOPCASED (2012). Topcased: Toolkit in OPen-source
for Critical Application and SystEms Development.
http://www.topcased.org.
MODELSWARD2013-InternationalConferenceonModel-DrivenEngineeringandSoftwareDevelopment
128