Towards Model-Driven Unit Testing

G. Engels, B. Güldali, M. Lohmann, in: Proceedings of the Workshop on Model Design and Validation (MoDeVa 2006), Toulouse (France), Le Commissariat à l’Energie Atomique - CEA, Berlin / Heidelberg, 2006, pp. 16–29.

Download
No fulltext has been uploaded.
Conference Paper | English
Author
Engels, GregorLibreCat; Güldali, Baris; Lohmann, Marc
Abstract
The Model-Driven Architecture (MDA) approach for constructing software systems advocates a stepwise refinement and transformation process starting from high-level models to concrete program code. In contrast to numerous research efforts that try to generate executable function code from models, we propose a novel approach termed model-driven monitoring. On the model level the behavior of an operation is specified with a pair of UML composite structure diagrams (visual contract), a visual notation for pre- and post-conditions. The specified behavior is implemented by a programmer manually. An automatic translation from our visual contracts to JML assertions allows for monitoring the hand-coded programs during their execution. In this paper we present an approach to extend our model-driven monitoring approach to allow for model-driven unit testing. In this approach we utilize the generated JML assertions as test oracles. Further, we present an idea how to generate sufficient test cases from our visual contracts with the help of model-checking techniques.
Publishing Year
Proceedings Title
Proceedings of the workshop on Model Design and Validation (MoDeVa 2006), Toulouse (France)
Page
16-29
LibreCat-ID

Cite this

Engels G, Güldali B, Lohmann M. Towards Model-Driven Unit Testing. In: Proceedings of the Workshop on Model Design and Validation (MoDeVa 2006), Toulouse (France). Berlin / Heidelberg: Le Commissariat à l’Energie Atomique - CEA; 2006:16-29.
Engels, G., Güldali, B., & Lohmann, M. (2006). Towards Model-Driven Unit Testing. In Proceedings of the workshop on Model Design and Validation (MoDeVa 2006), Toulouse (France) (pp. 16–29). Berlin / Heidelberg: Le Commissariat à l’Energie Atomique - CEA.
@inproceedings{Engels_Güldali_Lohmann_2006, place={Berlin / Heidelberg}, title={Towards Model-Driven Unit Testing}, booktitle={Proceedings of the workshop on Model Design and Validation (MoDeVa 2006), Toulouse (France)}, publisher={Le Commissariat à l’Energie Atomique - CEA}, author={Engels, Gregor and Güldali, Baris and Lohmann, Marc}, year={2006}, pages={16–29} }
Engels, Gregor, Baris Güldali, and Marc Lohmann. “Towards Model-Driven Unit Testing.” In Proceedings of the Workshop on Model Design and Validation (MoDeVa 2006), Toulouse (France), 16–29. Berlin / Heidelberg: Le Commissariat à l’Energie Atomique - CEA, 2006.
G. Engels, B. Güldali, and M. Lohmann, “Towards Model-Driven Unit Testing,” in Proceedings of the workshop on Model Design and Validation (MoDeVa 2006), Toulouse (France), 2006, pp. 16–29.
Engels, Gregor, et al. “Towards Model-Driven Unit Testing.” Proceedings of the Workshop on Model Design and Validation (MoDeVa 2006), Toulouse (France), Le Commissariat à l’Energie Atomique - CEA, 2006, pp. 16–29.

Export

Marked Publications

Open Data LibreCat

Search this title in

Google Scholar