• DocumentCode
    2164493
  • Title

    Observations for Assertion-based Scenarios in the context of Model Validation and Extension to Test Case Generation

  • Author

    Aydal, E.G. ; Paige, Richard F. ; Woodcock, Jim

  • Author_Institution
    Univ. of York, York
  • fYear
    2008
  • fDate
    9-11 April 2008
  • Firstpage
    11
  • Lastpage
    20
  • Abstract
    Some approaches to Model-Based Testing focus on test case generation from assertions (operation pre- and post- conditions) and invariants, e.g., written in the Object Constraint Language. In such a setting, assertions must be validated. Validation is often carried out via executing scenarios wherein system operations are applied, to detect unsatisfied invariants or failed preconditions. This paper aims to improve the 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, and describe several observations that can help to improve the process of writing these scenarios. We also describe the important factors that must be considered in transforming these scenarios into abstract test cases.
  • Keywords
    program testing; program verification; smart cards; specification languages; Mondex smart card application; abstract test cases; assertion-based scenarios; model extension; model validation; model-based testing; object constraint language; test case generation; Automatic testing; Context modeling; Object oriented modeling; Programming; Smart cards; Software systems; Software testing; System testing; Unified modeling language; Writing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Testing Verification and Validation Workshop, 2008. ICSTW '08. IEEE International Conference on
  • Conference_Location
    Lillehammer
  • Print_ISBN
    978-0-7695-3388-9
  • Type

    conf

  • DOI
    10.1109/ICSTW.2008.29
  • Filename
    4566987