Evaluating and debugging OCL expressions in UML models

  • Authors:
  • Jens Brüning;Martin Gogolla;Lars Hamann;Mirco Kuhlmann

  • Affiliations:
  • University of Rostock, Germany;University of Bremen, Germany;University of Bremen, Germany;University of Bremen, Germany

  • Venue:
  • TAP'12 Proceedings of the 6th international conference on Tests and Proofs
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper discusses the relationship between tests and proofs with focus on a tool for UML and OCL models. Tests are thought of as UML object diagrams and theorems or properties which are to be checked are represented as OCL constraints, i.e., class invariants or operation pre- and postconditions. The paper shows for the UML and OCL tool USE (UML-based Specification Environment) how to trace and debug the validity of an expected theorem (an OCL constraint) within a given test case (a state model in the form of a UML object diagram).