Skip to main navigation Skip to search Skip to main content

Connectors as designs: Modeling, refinement and test case generation

  • Meng Sun
  • , Farhad Arbab
  • , Bernhard Aichernig
  • , Lacramioara Astefanoaei
  • , Frank S. de Boer
  • , Jan Rutten

Research output: Contribution to journalArticlepeer-review

Abstract

Over the past years, the need for high-confidence coordination mechanisms has intensified as new technologies have appeared for the development of service-oriented applications, making formalization of coordination mechanisms critical. Unifying Theories of Programming (UTP) provide a formal semantic foundation not only for programming languages but also for various expressive specification languages. A key concept in UTP is design: the familiar pre/post-condition pair that describes a contract. In this paper we use UTP to formalize Reo connectors, whereby connectors are interpreted as designs in UTP. This model can be used as a semantic foundation for proving properties of connectors, such as equivalence and refinement relations between connectors. Furthermore, it can be used as a reference document for developing tool support for Reo, such as test case generators. A fault-based method to generate test cases for component connectors from specifications is also provided in this paper. For connectors, faults are caused by possible errors during the development process, such as wrongly used channels, missing or redundant subcircuits, or circuits with wrongly constructed topology. We give test cases and connectors a unifying formal semantics by using the notion of design in UTP, and generate test cases by solving constraints obtained from a specification and a faulty implementation. A prototype serves to demonstrate the automatization of the approach
Original languageEnglish
Pages (from-to)799-822
JournalScience of Computer Programming
Volume77
Issue number7/8
DOIs
Publication statusPublished - 2012

Fields of Expertise

  • Information, Communication & Computing

Treatment code (Nähere Zuordnung)

  • Application

Fingerprint

Dive into the research topics of 'Connectors as designs: Modeling, refinement and test case generation'. Together they form a unique fingerprint.
  • Formal Methods

    Lorber, F. L. (Attendee), Lucas, P. (Attendee), Aichernig, B. (Contact person) & Jöbstl, E. (Attendee)

    1/01/9531/12/24

    Project: Research area

Cite this