UML Associations: Reducing the gap in test coverage between model and code
2016 (English)In: Proceedings of the 4th International Conference on Model-Driven Engineering and Software Development / [ed] Slimane Hammoudi, Luis Ferreira Pires, Bran Selic & Philippe Desfray, SciTePress, 2016, Vol. 1, 589-599 p.Conference paper (Refereed)
This paper addresses the overall problem of estimating the quality of a test suite when testing is performed at aplatform-independent level, using executable UML models. The problem is that the test suite is often requiredto fulfill structural code coverage criteria. In the avionics domain it is usually required that the tests achieve100% coverage according to logic-based coverage criteria. Such criteria are less effective when applied toexecutable UML models than when they are applied to code because the action code found in such modelscontains conditions in navigation and loops that are not explicit and therefore not captured by logic-basedcoverage criteria. We present two new coverage criteria for executable UML models, and we use an industrialapplication from the avionics domain to show that these two criteria should be combined with a logic-basedcriterion when testing the executable UML model. As long as the coverage is less than 100% at the modellevel, there is no point in running the tests at the code level since all functionality of the model is not yet tested,and this is necessary to achieve 100% coverage at the code level.
Place, publisher, year, edition, pages
SciTePress, 2016. Vol. 1, 589-599 p.
Research subject Technology
IdentifiersURN: urn:nbn:se:his:diva-12180DOI: 10.5220/0005745205890599ScopusID: 2-s2.0-84970024915ISBN: 978-989-758-168-7OAI: oai:DiVA.org:his-12180DiVA: diva2:924914
4th International Conference on Model-Driven Engineering and Software Development (MODELSWARD), February 19-21, 2016, in Rome, Italy