Combining unit and specification-based testing for meta-model validation and verification.

Information Systems(2016)

引用 15|浏览57
暂无评分
摘要
Meta-models play a cornerstone role in Model-Driven Engineering as they are used to define the abstract syntax of modelling languages, and so models and all sorts of model transformations depend on them. However, there are scarce tools and methods supporting their Validation and Verification (V&V), which are essential activities for the proper engineering of meta-models.In order to fill this gap, we propose two complementary meta-model V&V languages. The first one has similar philosophy to the xUnit framework, as it enables the definition of meta-model unit test suites comprising model fragments and assertions on their (in-)correctness. The second one is directed to express and verify expected properties of a meta-model, including domain and design properties, quality criteria and platform-specific requirements.As a proof of concept, we have developed tooling for both languages in the Eclipse platform, and illustrate its use within an example-driven approach for meta-model construction. The expressiveness of our languages is demonstrated by their application to build a library of meta-model quality issues, which has been evaluated over the ATL zoo of meta-models and some OMG specifications. The results show that integrated support for meta-model V&V (as the one we propose here) is urgently needed in meta-modelling environments. HighlightsWe propose two domain-specific languages for meta-model validation and verification.mmUnit enables meta-model unit test definitions with model fragments and assertions.mmSpec is directed to express and verify expected properties of a meta-model.We have developed tooling for both languages in the Eclipse platform.The languages have been evaluated over large real world meta-model repositories.
更多
查看译文
关键词
Model-driven engineering,Meta-modelling,Domain-specific modelling languages,Validation & verification,Meta-model quality
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要