EUnit: A unit testing framework for model management tasks

Antonio García-Domínguez*, Dimitrios S. Kolovos, Louis M. Rose, Richard F. Paige, Inmaculada Medina-Bulo

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference publication

Abstract

Validating and transforming models are essential steps in model-driven engineering. These tasks are often implemented as operations in general purpose programming languages or task-specific model management languages. Just like other software artefacts, these tasks must be tested to reduce the risk of defects. Testing model management tasks requires testers to select and manage the relevant combinations of input models, tasks and expected outputs. This is complicated by the fact that many technologies may be used in the same system, each with their own integration challenges. In addition, advanced test oracles are required: tests may need to compare entire models or directory trees. To tackle these issues, we propose creating an integrated unit testing framework for model management operations. We have developed the EUnit unit testing framework to validate our approach. EUnit tests specify how models and tasks are to be combined, while staying decoupled from the specific technologies used.

Original languageEnglish
Title of host publicationModel Driven Engineering Languages and Systems - 14th International Conference, MODELS 2011, Proceedings
Pages395-409
Number of pages15
DOIs
Publication statusPublished - 19 Oct 2011
Event14th International Conference on Model Driven Engineering Languages and Systems, MODELS 2011 - Wellington, New Zealand
Duration: 16 Oct 201121 Oct 2011

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume6981 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference14th International Conference on Model Driven Engineering Languages and Systems, MODELS 2011
CountryNew Zealand
CityWellington
Period16/10/1121/10/11

Keywords

  • model management
  • model transformation
  • model validation
  • Software testing
  • test frameworks
  • unit testing

Fingerprint Dive into the research topics of 'EUnit: A unit testing framework for model management tasks'. Together they form a unique fingerprint.

Cite this