Authors:
Beatriz Pérez Lamancha
1
;
Pedro Reales Mateo
1
;
Macario Polo
1
and
Danilo Caivano
2
Affiliations:
1
Castilla-La Mancha University, Spain
;
2
Universitá degli Studi, Italy
Keyword(s):
Model-driven testing, Model-based testing, UML testing profile, Transformation, Model to text transformation, MOFScript, xUnit, JUnit.
Related
Ontology
Subjects/Areas/Topics:
Cross-Feeding between Data and Software Engineering
;
Model-Driven Engineering
;
Service-Oriented Software Engineering and Management
;
Software Engineering
;
Software Engineering Methods and Techniques
;
Software Quality Management
Abstract:
In MDE, software products are built with successive transformations of models at different abstraction levels, which in the end are translated into executable code for the specific platform where the system will be deployed and executed. As testing is one of the essential activities in software development, researchers have proposed several techniques to deal with testing in model-based contexts. In previous works, we described a framework to automatically derive UML Testing-Profile test cases from UML 2.0 design models. These transformations are made with the QVT language which, like UML 2.0 and UML-TP, is an OMG standard. Now, we have extended the framework for deriving the source code of the test cases from those in the UML Testing Profile. This transformation, which can be applied to obtain test cases in a variety of programming languages, is implemented with MOFScript, which is also an OMG standard. Thus, this paper almost closes our cycle of testing automation in MDE environmen
ts, always within the limits of OMG standards. Moreover, thanks to this standardization, the development of new tools is not required.
(More)