Connectors as designs: Modeling, refinement and test case generation

被引:14
|
作者
Meng, Sun [1 ,2 ]
Arbab, Farhad [2 ]
Aichernig, Bernhard K. [3 ]
Astefanoaei, Lacramioara [2 ]
de Boer, Frank S. [2 ]
Rutten, Jan [2 ]
机构
[1] Peking Univ, Sch Math Sci, LMAM, Beijing 100871, Peoples R China
[2] CWI, NL-1009 AB Amsterdam, Netherlands
[3] Graz Univ Technol, Inst Software Technol, A-8010 Graz, Austria
关键词
Connector; Reo circuits; Timed data sequence; Design; Refinement; Test case generation; SEMANTICS; REO;
D O I
10.1016/j.scico.2011.04.002
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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. (c) 2011 Elsevier B.V. All rights reserved.
引用
收藏
页码:799 / 822
页数:24
相关论文
共 50 条
  • [11] Refinement for User Interface Designs
    Bowen, Judy
    Reeves, Steve
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2008, 208 : 5 - 22
  • [12] OpenFlow Modeling Based on CPN for Evolution Consideration and Executable Test Case Generation
    Ruan, Hongwei
    Wang, Lu
    Yang, Xiao
    Dong, Lulu
    Li, Hua
    2017 IEEE 41ST ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), VOL 2, 2017, : 72 - 77
  • [13] Refinement for user interface designs
    Bowen, Judy
    Reeves, Steve
    FORMAL ASPECTS OF COMPUTING, 2009, 21 (06) : 589 - 612
  • [14] Modeling and Verification of Components and Connectors
    Baier, Christel
    Klein, Joachim
    Kluepelholz, Sascha
    FORMAL METHODS FOR ETERNAL NETWORKED SOFTWARE SYSTEMS, SFM 2011, 2011, 6659 : 114 - 147
  • [15] An orchestrated survey of methodologies for automated software test case generation
    Anand, Saswat
    Burke, Edmund K.
    Chen, Tsong Yueh
    Clark, John
    Cohen, Myra B.
    Grieskamp, Wolfgang
    Harman, Mark
    Harrold, Mary Jean
    McMinn, Phil
    Bertolino, Antonia
    Li, J. Jenny
    Zhu, Hong
    JOURNAL OF SYSTEMS AND SOFTWARE, 2013, 86 (08) : 1978 - 2001
  • [16] Embedded Software Testing Requirements Modeling and Automatic Test Case Generation Based on Multiple Graphs
    Qu, Ming-Cheng
    Cui, Nai-Gang
    Zhang, Ya-Nan
    Wu, Xiang-Hu
    Zou, Bing-Song
    ADVANCED SCIENCE LETTERS, 2015, 21 (11) : 3530 - 3535
  • [17] Architecting specifications for test case generation
    Sinnott, R
    FIRST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND FORMAL METHODS, PROCEEDINGS, 2003, : 24 - 32
  • [18] Stream X-Machines for Agent Simulation Test Case Generation
    Sakellariou, Ilias
    Dranidis, Dimitris
    Ntika, Marina
    Kefalas, Petros
    AGENTS AND ARTIFICIAL INTELLIGENCE, ICAART 2015, 2015, 9494 : 37 - 57
  • [19] Buchi automata for modeling component connectors
    Izadi, Mohammad
    Bonsangue, Marcello
    Clarke, Dave
    SOFTWARE AND SYSTEMS MODELING, 2011, 10 (02) : 183 - 200
  • [20] Modeling techniques in design-by-refinement methodologies
    Burch, JR
    Passerone, R
    Sangiovanni-Vincentelli, AL
    SYSTEM SPECIFICATION AND DESIGN LANGUAGES: BEST OF FDL '02, 2003, : 283 - 292