Back to Search Start Over

Connectors as designs: Modeling, refinement and test case generation

Authors :
Meng, Sun
Arbab, Farhad
Aichernig, Bernhard K.
Aştefănoaei, Lăcrămioara
de Boer, Frank S.
Rutten, Jan
Source :
Science of Computer Programming. Jul2012, Vol. 77 Issue 7/8, p799-822. 24p.
Publication Year :
2012

Abstract

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. [Copyright &y& Elsevier]

Details

Language :
English
ISSN :
01676423
Volume :
77
Issue :
7/8
Database :
Academic Search Index
Journal :
Science of Computer Programming
Publication Type :
Academic Journal
Accession number :
74307733
Full Text :
https://doi.org/10.1016/j.scico.2011.04.002