In our approach, we reused and adapted the TPTP
framework and we use stable Ecore-based models for
the test specification and execution process. Changes
in the DSL have to be respected in a model transfor-
mation and do not necessitate adaptation in the test
execution implementation.
7 SUMMARY, FUTURE WORK
The paper presented an approach for integrating ex-
isting proprietary system models into a new model-
driven testing process. For an industrial automa-
tion scenario, a domain-specific language was devel-
oped to specify test cases for a SUT consisting of
distributed state machines. As part of the model-
driven test process, a meta model consisting of a more
generic representation of the system model and nec-
essary testing aspects was defined. The existing sys-
tem model and the DSL are integrated in the test-
ing process by model transformations which decouple
the domains, keeping changes and adaptations locally.
The realisation is based on Eclipse and the Eclipse
modelling framework. As a foundation for the test
framework, the TPTP project was adapted and cus-
tomised to the use case. The iterative development
with continuous evaluation of intermediate results by
domain experts ensured the practical usability and ac-
ceptance by the testers.
The version of the test framework presented in this
paper lacks the complete reporting and evaluation ca-
pabilities of test results, which is ongoing work. Fur-
thermore, the DSL and test evaluation is currently ex-
tended with real-time capabilities to enhance the us-
ability of the test framework further.
So far, the defined test meta model has generic
parts, but is limited to a use case based on state ma-
chines. Thus, it is a specialised solution. As a next
step, the TEFAModels will be used as an intermediate
model for a transformation into a UML/UTP based
representation. Besides the possibility to exchange
and reuse these models, adapting the test framework
to execute and manage tests represented using these
standards will result in broader applicability.
ACKNOWLEDGEMENTS
The master students Matthias Jurisch and Michael Po-
etz, my colleague Marcus Thoss and Horst Wiche and
Matthias Englert from the Eckelmann AG contributed
to the presented work. Furthermore, I want to thank
my Ph.D. supervisors Prof. Dr. Kroeger from Rhein-
Main University of Applied Sciences and Prof. Dr.
Brinkschulte from Goethe University Frankfurt am
Main.
This project (HA project no. 317/12-07) is
funded in the framework of Hessen ModellProjekte,
financed with funds of LOEWE – Landes-Offensive
zur Entwicklung Wissenschaftlich-Oekonomischer
Exzellenz, Foerderlinie 3: KMU-Verbundvorhaben
(State Campaign for the Development of Scientific
and Economic Excellence).
REFERENCES
Baker, P., Dai, Z. R., Grabowski, J., Haugen, O. y., Schiefer-
decker, I., and Williams, C. (2008). Model-Driven
Testing: Using the UML Testing Profile. Springer.
Eckelmann AG (2014). http://www.eckelmann.de/en.
Eclipse QVT (2014). Eclipse Model to Model Transforma-
tion Project. www.eclipse.org/mmt/qvto/.
EMF (2014). Eclipse Modeling Framework Project (EMF).
http://www.eclipse.org/modeling/emf/.
Fowler, M. (2010). Domain-Specific Languages, volume
5658. Pearson Education.
Hartman, A., Katara, M., and Olvovsky, S. (2007). Choos-
ing a Test Modeling Language: a Survey. In Hard-
ware and Software, Verification and Testing, volume
4383 of LNCS, pages 204–218. Springer.
Mussa, M., Ouchani, S., Sammane, W. A., and Hamou-
Lhadj, A. (2009). A Survey of Model-Driven Testing
Techniques. In 9th International Conference on Qual-
ity Software, QSIC ’09., pages 167–172, Jeju, Korea
(South). IEEE.
OMG (2011). OMG Unified Modeling Language (OMG
UML), Superstructure.
OMG (2014). Test Information Interchange Format 1.0 -
Beta 2. http://www.omg.org/spec/TestIF/1.0/Beta2/.
Shafique, M. and Labiche, Y. (2010). A Systematic Review
of Model Based Testing Tool Support. Technical re-
port SCE-10-04, Carleton University.
Stahl, T., Voelter, M., and Czarnecki, K. (2006). Model-
Driven Software Development: Technology, Engineer-
ing, Management. John Wiley & Sons.
Thoss, M., Beckmann, K., Kroeger, R., Muenchhof, M.,
and Mellert, C. (2014). A Framework-based Ap-
proach for Automated Testing of CNC Firmware.
In Proceedings of the 2014 Workshop on Joining
AcadeMiA and Industry Contributions to Test Au-
tomation and Model-Based Testing, JAMAICA 2014,
pages 7–12, New York, NY, USA. ACM.
TPTP (2014). Eclipse Test & Performance Tools Platform
Project. http://eclipse.org/tptp/index.php.
Wahler, M., Ferranti, E., and Steiger, R. (2012). CAST:
Automating Software Tests for Embedded Systems. In
Software Testing, Verification and Validation (ICST),
2012 IEEE Fifth International Conference on, pages
457 – 466.
Xtext (2014). Eclipse Xtext Project. http://
www.eclipse.org/Xtext/.
MODELSWARD2015-3rdInternationalConferenceonModel-DrivenEngineeringandSoftwareDevelopment
262