Skip to main content

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2863))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 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)

    Chapter  Google Scholar 

  2. 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)

    Chapter  Google Scholar 

  3. Ambler, S.W.: Building Object Applications: Patterns, Architecture, Design, Construction, and Testing. Prentice Hall, Englewood Cliffs (1997)

    Google Scholar 

  4. 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)

    Google Scholar 

  5. ArgoUML Team. The ArgoUML Tool (2003), http://www.argouml.tigris.org

  6. Bohling, J.: Generation of Snapshots for the Validation of UML Class Diagrams (In German). Diploma Thesis, University of Bremen (2001)

    Google Scholar 

  7. Boldsoft. The Boldsoft OCL Tool Model Run. Boldsoft, Stockholm (2002), http://www.boldsoft.com

  8. 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

    Article  Google Scholar 

  9. 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)

    Google Scholar 

  10. Dupuy, S., du Bousquet, L.: A multi-formalism approach for the validation of UML models. Formal Aspects of Computing 12(4), 228–230 (2000)

    Article  Google Scholar 

  11. 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)

    Chapter  Google Scholar 

  12. 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)

    Google Scholar 

  13. 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)

    Google Scholar 

  14. 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)

    Chapter  Google Scholar 

  15. 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)

    Google Scholar 

  16. 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)

    Google Scholar 

  17. 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)

    Google Scholar 

  18. 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)

    Chapter  Google Scholar 

  19. Oliver, I., Kent, S.: Validation of object-oriented models using animation. In: Proc. EuroMicro, vol. 2, pp. 2237–2243. IEEE, Los Alamitos (1999)

    Google Scholar 

  20. OMG, editor. OMG Unified Modeling Language Specification, Version 1.5. OMG. OMG Document formal/03-03-01 (March 2003), www.omg.org

  21. 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)

    Google Scholar 

  22. 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)

    Google Scholar 

  23. 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)

    Chapter  Google Scholar 

  24. Warmer, J., Kleppe, A.: The Object Constraint Language: Precise Modeling with UML. Addison-Wesley, Reading (1998)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Publish with us

Policies and ethics