EUnit: a unit testing framework for model management tasks

  • Authors:
  • Antonio García-Domínguez;Dimitrios S. Kolovos;Louis M. Rose;Richard F. Paige;Inmaculada Medina-Bulo

  • Affiliations:
  • University of Cádiz, Department of Computer Languages and Systems, Cádiz, Spain;University of York, Department of Computer Science, Deramore Lane, York, United Kingdom;University of York, Department of Computer Science, Deramore Lane, York, United Kingdom;University of York, Department of Computer Science, Deramore Lane, York, United Kingdom;University of Cádiz, Department of Computer Languages and Systems, Cádiz, Spain

  • Venue:
  • Proceedings of the 14th international conference on Model driven engineering languages and systems
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

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.