Automation of Model-Based Testing through Model Transformations

  • Authors:
  • Emine Gokce Aydal;Jim Woodcock

  • Affiliations:
  • -;-

  • Venue:
  • TAIC-PART '09 Proceedings of the 2009 Testing: Academic and Industrial Conference - Practice and Research Techniques
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Traditionally, model transformations are done for purposessuch as code generation, refinement, refactoring, etc.During these processes, either the model of a system or theactual code is used. In this study, we perform model transformationfor testing purposes and the artifact used in thisprocess is the test case model. To explain our approach better,we present a multi-platform model-based testing techniquewhere the operations to be tested are modelled in Alloy,and the complete system to be tested is specified in Zformal language. The model transformation is used withinthis context to transform test cases in XML format generatedby Alloy Analyzer to ZLive commands that animate theZ specification of the system. The study not only presentsa show case on how to model the test cases in a standardform, but also defines the rules for transformations fromone test case model to another. The study also demonstrateshow the use of model transformation can increase the levelof automation in model-based testing process.