Using model transformation to support model-based test coverage measurement

  • Authors:
  • Leila Naslavsky;Hadar Ziv;Debra J. Richardson

  • Affiliations:
  • University of California, Irvine, Irvine, USA;University of California, Irvine, Irvine, USA;University of California, Irvine, Irvine, USA

  • Venue:
  • Proceedings of the 3rd international workshop on Automation of software test
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Adoption of model-driven development is leading to increased use of models jointly with source code for software testing, by means of Model-Based Testing (MBT). MBT uses models to derive concrete test cases to test code. With MBT, test adequacy criteria are described in relation to the models. They are used to evaluate reliability of derived test cases and as predictor for determining when to stop testing. Hence, when concrete test cases are executed, it is important to measure coverage achieved with regards to the model, rather than only to the code. This places new challenges for testing activities, which include creation and maintenance of relationships between model and code elements. To deal with such challenge, we propose an approach that leverages model-to-text transformation traceability techniques to create relationships required to measure model coverage achieved with test cases executions. We illustrate the approach by applying it to a small ATM example.