MoDELS 2011

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.

BibTeX

@inproceedings{garcia-dominguez_eunit:_2011,
    address = {Wellington, New Zealand},
    title = {{EUnit:} a Unit Testing Framework for Model Management Tasks},
    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.},
    booktitle = {Proceedings of the {ACM/IEEE} 14th International Conference on Model Driven Engineering Languages and Systems},
    author = {{García-Domínguez}, Antonio and Kolovos, Dimitrios S. and Rose, Louis M. and Paige, Richard F. and {Medina-Bulo}, Inmaculada},
    month = oct,
    year = {2011},
    note = {To be published}
}

eunit-models2011.pdf (318 KB) Antonio García Domínguez, 07/21/2011 07:33 PM