• DocumentCode
    2744647
  • Title

    Checking Model Consistency Using Data-Flow Testing

  • Author

    Wang, Chen-Wei ; Cavarra, Alessandra

  • Author_Institution
    Oxford Univ. Comput. Lab., Oxford, UK
  • fYear
    2009
  • fDate
    1-3 Dec. 2009
  • Firstpage
    414
  • Lastpage
    421
  • Abstract
    In model-driven development, requirements are captured as a specification model, from which a conforming implementation is automatically generated. Model consistency, with respect to requirements, is a primary concern. If the various structural and integrity constraints are inconsistent, then either the model will admit no implementation, or the implementation produced will not behave according to the intended requirements. We present an approach, based upon data-flow testing, to helping developers inspect their models for inconsistency. System models contain classes, attributes, invariants, and methods specified as first-order predicates. We identify for every attribute its intra-method usages. We construct accordingly call sequences demonstrating its inter-method usages. We derive from each call sequence a Boolean constraint, as a test case, ensuring both the execution of the corresponding inter-method usage and the maintenance of invariants. Developers may examine this test suite and compare against their original understandings about the requirements.
  • Keywords
    data flow analysis; object-oriented methods; program testing; program verification; Boolean constraint; data-flow analysis; data-flow testing; formal methods; model consistency checking; model-driven development; object-oriented design methods; specification model; system models; Automatic testing; Buildings; Contracts; Data analysis; Design methodology; Information analysis; Laboratories; Object oriented modeling; Software engineering; Software testing; data-flow analysis; formal methods; model consistency; object-oriented design methods; programming by contract;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering Conference, 2009. APSEC '09. Asia-Pacific
  • Conference_Location
    Penang
  • ISSN
    1530-1362
  • Print_ISBN
    978-0-7695-3909-6
  • Type

    conf

  • DOI
    10.1109/APSEC.2009.58
  • Filename
    5358791