Using models of partial knowledge to test model transformations

  • Authors:
  • Sagar Sen;Jean-Marie Mottu;Massimo Tisi;Jordi Cabot

  • Affiliations:
  • AtlanMod, École des Mines de Nantes - INRIA, France;(UMR CNRS 6241), Université de Nantes - LINA, France;AtlanMod, École des Mines de Nantes - INRIA, France;AtlanMod, École des Mines de Nantes - INRIA, France

  • Venue:
  • ICMT'12 Proceedings of the 5th international conference on Theory and Practice of Model Transformations
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

Testers often use partial knowledge to build test models. This knowledge comes from sources such as requirements, known faults, existing inputs, and execution traces. In Model-Driven Engineering, test inputs are models executed by model transformations. Modelers build them using partial knowledge while meticulously satisfying several well-formedness rules imposed by the modelling language. This manual process is tedious and language constraints can force users to create complex models even for representing simple knowledge. In this paper, we want to simplify the development of test models by presenting an integrated methodology and semi-automated tool that allow users to build only small partial test models directly representing their testing intent. We argue that partial models are more readable and maintainable and can be automatically completed to full input models while considering language constraints. We validate this approach by evaluating the size and fault-detecting effectiveness of partial models compared to traditionally-built test models. We show that they can detect the same bugs/faults with a greatly reduced development effort.