Validating UML simulation models with model-level unit tests

Dietrich, Isabel and Dressler, Falko and Dulz, Winfried and German, Reinhard (2010) Validating UML simulation models with model-level unit tests. In: 3rd International ICST Conference on Simulation Tools and Techniques.

[thumbnail of 9705.pdf] PDF
9705.pdf

Download (353kB)

Abstract

We describe model-level unit tests for model-driven simula- tion based on UML models. We refer to the well-known unit testing method and apply this concept on a higher abstrac- tion level, that is on UML simulation models. The concept of model-based simulation has become more and more popular throughout the last years. This trend is fostered by the avail- ability of tools that automatically transform UML models into executable simulation code. Typically, both functional- ity and behavior are modeled in UML, whereas debugging and validation are mainly an issue of investigating the ex- ecutable code. We contribute to the feld of model-driven simulation by defning a novel testing method. Our method allows to use UML to specify model-level unit tests in order to validate simulation models defned with UML. In addi- tion, we describe the translation, execution and evaluation of these tests within the framework Syntony. In this paper, we show the principles of this method and discuss its use in the scope of our simulation framework Syntony as well as its general applicability. Our implementation allows to com- pile and to execute the test code in combination with the simulation code. In spite of the high abstraction level, the full functionality of unit testing is provided and the modeler can rely on automated test case generation and execution. After execution of the tests, the achieved test coverage is computed as a measure for the test quality.

Item Type: Conference or Workshop Item (UNSPECIFIED)
Uncontrolled Keywords: Unit test, simulation, UML, validation
Date Deposited: 04 Mar 2026 08:50
Last Modified: 03 Dec 2026 09:37
URI: https://eprints.eai.eu/id/eprint/1663

Actions (login required)

View Item
View Item