Abstract
We study the testing and certification of UML and OCL models as supported by the validation tool USE. We extend the available USE features by introducing a language for defining properties of desired snapshots and by showing how such snapshots are generated. Within the approach, it is possible to treat test cases and validation cases. Test cases show that snapshots having desired properties can be constructed. Validation cases show that given properties are consequences of the original UML and OCL model.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Ahrendt, W., Baar, T., Beckert, B., Giese, M., Habermalz, E., Hähnle, R., Menzel, W., Schmitt, P.H.: The KeY approach: Integrating object oriented design and formal verification. In: Brewka, G., Moniz Pereira, L., Ojeda-Aciego, M., de Guzmán, I.P. (eds.) JELIA 2000. LNCS (LNAI), vol. 1919, pp. 21–36. Springer, Heidelberg (2000)
Agerholm, S., Larsen, P.G.: A Lightweight Approach to Formal Methods. In: Hutter, D., Traverso, P. (eds.) FM-Trends 1998. LNCS, vol. 1641, pp. 168–183. Springer, Heidelberg (1999)
Ambler, S.W.: Building Object Applications: Patterns, Architecture, Design, Construction, and Testing. Prentice Hall, Englewood Cliffs (1997)
Abdurazik, A., Offutt, J.: Using UML collaboration diagrams for static checking and test generation. In: Evans, A., Kent, S., Selic, B. (eds.) UML 2000. LNCS, vol. 1939, pp. 383–395. Springer, Heidelberg (2000)
ArgoUML Team. The ArgoUML Tool (2003), http://www.argouml.tigris.org
Bohling, J.: Generation of Snapshots for the Validation of UML Class Diagrams (In German). Diploma Thesis, University of Bremen (2001)
Boldsoft. The Boldsoft OCL Tool Model Run. Boldsoft, Stockholm (2002), http://www.boldsoft.com
Canals, A., Cassaing, Y., Jammes, A., Pomies, L., Roblet, E.: How You could Use NEPTUNE in the Modelling Process. Journal of Object Technology 2(1), 69–83 (2003), www.jot.fm
Chiorean, D.: Using OCL Beyond Specifications. In: Evans, A., France, R., Moreira, A., Rumpe, B. (eds.) Proc. UML 2001 Workshop Rigorous Development. Lecture Notes in Informatics (LNI), pp. 57–68. German Informatics Society (2001)
Dupuy, S., du Bousquet, L.: A multi-formalism approach for the validation of UML models. Formal Aspects of Computing 12(4), 228–230 (2000)
Fröhlich, P., Link, J.: Automated Test Case Generation from Dynamic Models. In: Bertino, E. (ed.) ECOOP 2000. LNCS, vol. 1850, pp. 472–491. Springer, Heidelberg (2000)
Graubmann, P., Rudolph, E.: Hypermscs and sequence diagrams for use case modelling and testing. In: Evans, A., Kent, S., Selic, B. (eds.) UML 2000. LNCS, vol. 1939, pp. 32–46. Springer, Heidelberg (2000)
Hussmann, H., Demuth, B., Finger, F.: Modular architecture for a toolset supporting OCL. In: Evans, A., Kent, S., Selic, B. (eds.) UML 2000. LNCS, vol. 1939, pp. 278–293. Springer, Heidelberg (2000)
Jézéquel, J.-M., Le Guennec, A., Pennaneach, F.: Validating distributed software modeled with the Unified Modeling Language. In: Bézivin, J., Muller, P.-A. (eds.) UML 1998. LNCS, vol. 1618, pp. 365–377. Springer, Heidelberg (1999)
Jackson, D., Schechter, I., Shlyakhter, I.: Alcoa: The Alloy constraint analyzer. In: Proc. Int. Conf. Software Engineering (ICSE 2000), pp. 730–733. ACM, New York (2000)
Martin, H.: Using test hypotheses to build a UML model of object-oriented smart card applications. In: Rault, J.-C. (ed.) Proc. Int. Conf. Software and Systems Engineering and their Applications, ICSSEA 1999 (1999)
Muthiayen, D.: Real-Time Reactive System Development – A Formal Approach Based on UML and PVS. PhD thesis, Department of Computer Science at Concordia University, Montreal, Canada (January 2000)
Offutt, J., Abdurazik, A.: Generating tests from UML specifications. In: France, R.B., Rumpe, B. (eds.) UML 1999. LNCS, vol. 1723, pp. 416–429. Springer, Heidelberg (1999)
Oliver, I., Kent, S.: Validation of object-oriented models using animation. In: Proc. EuroMicro, vol. 2, pp. 2237–2243. IEEE, Los Alamitos (1999)
OMG, editor. OMG Unified Modeling Language Specification, Version 1.5. OMG. OMG Document formal/03-03-01 (March 2003), www.omg.org
Richters, M., Gogolla, M.: On Formalizing the UML Object Constraint Language OCL. In: Ling, T.-W., Ram, S., Li Lee, M. (eds.) ER 1998. LNCS, vol. 1507, pp. 449–464. Springer, Heidelberg (1998)
Richters, M., Gogolla, M.: Validating UML Models and OCL Constraints. In: Evans, A., Kent, S., Selic, B. (eds.) UML 2000. LNCS, vol. 1939, pp. 265–277. Springer, Heidelberg (2000)
Richters, M., Gogolla, M.: OCL - Syntax, Semantics and Tools. In: Clark, A., Warmer, J. (eds.) Object Modeling with the OCL. LNCS, vol. 2263, pp. 43–69. Springer, Heidelberg (2002)
Warmer, J., Kleppe, A.: The Object Constraint Language: Precise Modeling with UML. Addison-Wesley, Reading (1998)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Gogolla, M., Bohling, J., Richters, M. (2003). Validation of UML and OCL Models by Automatic Snapshot Generation. In: Stevens, P., Whittle, J., Booch, G. (eds) «UML» 2003 - The Unified Modeling Language. Modeling Languages and Applications. UML 2003. Lecture Notes in Computer Science, vol 2863. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-45221-8_23
Download citation
DOI: https://doi.org/10.1007/978-3-540-45221-8_23
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-20243-1
Online ISBN: 978-3-540-45221-8
eBook Packages: Springer Book Archive