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
DOI: https://doi.org/10.1007/978-3-642-24485-8_29
2011-01-01
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.
What problem does this paper attempt to address?