Combining Specification-Based and Code-Based Coverage for Model Transformation Chains
For testing model transformations or model transformation chains, 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 test cases with regards to...
Saved in:
Published in | Theory and Practice of Model Transformations Vol. 6707; pp. 78 - 92 |
---|---|
Main Authors | , |
Format | Book Chapter |
Language | English |
Published |
Germany
Springer Berlin / Heidelberg
2011
Springer Berlin Heidelberg |
Series | Lecture Notes in Computer Science |
Subjects | |
Online Access | Get full text |
ISBN | 3642217311 9783642217319 |
ISSN | 0302-9743 1611-3349 |
DOI | 10.1007/978-3-642-21732-6_6 |
Cover
Loading…
Summary: | For testing model transformations or model transformation chains, 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 test cases with regards to the system under test must be systematically measured. Specification-based or code-based coverage can be measured, which leads to the question of how these two approaches are related. In this paper, we investigate the relation between specification- and code-based coverage analysis for model transformation chains and show how such a relation can be established. Based on this, we propose several usage scenarios of such a relation which include identification of code relevant for parts of a given specification and vice versa. |
---|---|
ISBN: | 3642217311 9783642217319 |
ISSN: | 0302-9743 1611-3349 |
DOI: | 10.1007/978-3-642-21732-6_6 |