Observations for assertion-based scenarios in the context of model validation

Research output: Contribution to journalArticlepeer-review


Certain approaches to Model-Based Testing focus on test case generation from assertions and invariants, e.g., written in the Object Constraint Language. In such a setting, assertions and invariants must be validated. Validation can be carried out via executing scenarios wherein system operations are applied to detect unsatisfied invariants or failed assertions. This paper aims to improve our understanding of how to write useful validation scenarios for assertions in OCL. To do so, we report on our experiences during the creation and execution of 237 scenarios for validating assertions for the Mondex Smart Card application. We also describe key factors that must be considered in transforming scenarios into test cases.

Original languageEnglish
JournalElectronic Communications of the EASST
Publication statusPublished - 1 Jan 2008


  • Model-Based Testing
  • Mondex
  • OCL
  • Scenario validation

Cite this