• DocumentCode
    3155817
  • Title

    Putting Formal Specifications under the Magnifying Glass: Model-based Testing for Validation

  • Author

    Aydal, Emine G. ; Paige, Richard F. ; Utting, Mark ; Woodcock, Jim

  • Author_Institution
    Univ. of York, York
  • fYear
    2009
  • fDate
    1-4 April 2009
  • Firstpage
    131
  • Lastpage
    140
  • Abstract
    A software development process is conceptually an abstract form of model transformation, starting from an enduser model of requirements, through to a system model for which code can be automatically generated. The success (or failure) of such a transformation depends substantially on obtaining a correct, well-formed initial model that captures user concerns. Model-based testing automates black box testing based on the model of the system under analysis. This paper proposes and evaluates a novel model-based testing technique that aims to reveal specification/requirement-related errors by generating test cases from a test model and exercising them on the design model. The case study outlined in the paper shows that a separate test model not only increases the level of objectivity of the requirements, but also supports the validation of the system under test through test case generation. The results obtained from the case study support the hypothesis that there may be discrepancies between the formal specification of the system modeled and the problem to be solved, and that using solely formal verification methods may not be sufficient to reveal these. The approach presented in this paper aims at providing means to obtain greater confidence in the design model that is used as the basis for code generation.
  • Keywords
    formal specification; program testing; program verification; formal specifications; formal verification methods; model transformation; model-based testing; software development process; Automatic testing; Bridges; Formal specifications; Formal verification; Glass; Human factors; Programming; Psychology; Software testing; System testing; Alloy; Model-based testing; Z; test case generation;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Testing Verification and Validation, 2009. ICST '09. International Conference on
  • Conference_Location
    Denver, CO
  • Print_ISBN
    978-1-4244-3775-7
  • Electronic_ISBN
    978-0-7695-3601-9
  • Type

    conf

  • DOI
    10.1109/ICST.2009.20
  • Filename
    4815345