Integrating Coverage Analysis into Test-driven Development of Model Transformations

For testing model transformations, a software engineer usually designs a test suite consisting of test cases where each test case consists of one or several models. In order to ensure a high quality of such a test suite, coverage achieved by the test cases with regard to the system under test must be systematically measured. The results obtained during coverage analysis can then be used e.g. for creating additional test cases. In addition to measuring coverage, a software engineer developing a model transformation is also confronted with how to integrate such coverage analysis results into the development process. For example, the software engineer has to decide when to measure coverage, when to investigate the results and how and when to take appropriate actions. In this paper, we present a prototypical tool which can be used for measuring coverage of test requirements for model transformations. We explain how a software engineer can make use of it in a test-driven development process for model transformations, in order to systematically develop high-quality model transformations.

By: Jochen M. Kuester, Daniel Kovacs, Eduard Bauer, Christian Gerth

Published in: RZ3846 in 2013

LIMITED DISTRIBUTION NOTICE:

This Research Report is available. This report has been submitted for publication outside of IBM and will probably be copyrighted if accepted for publication. It has been issued as a Research Report for early dissemination of its contents. In view of the transfer of copyright to the outside publisher, its distribution outside of IBM prior to publication should be limited to peer communications and specific requests. After outside publication, requests should be filled only by reprints or legally obtained copies of the article (e.g., payment of royalties). I have read and understand this notice and am a member of the scientific community outside or inside of IBM seeking a single copy only.

rz3846.pdf

Questions about this service can be mailed to reports@us.ibm.com .