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 条
  • [21] Combining test case generation and runtime verification
    Artho, C
    Barringer, H
    Goldberg, A
    Havelund, K
    Khurshid, S
    Lowry, M
    Pasareanu, C
    Rosu, G
    Sen, K
    Visser, W
    Washington, R
    THEORETICAL COMPUTER SCIENCE, 2005, 336 (2-3) : 209 - 234
  • [22] A New Strategy for Pairwise Test Case Generation
    Cui, Yingxia
    Li, Longshu
    Yao, Sheng
    2009 THIRD INTERNATIONAL SYMPOSIUM ON INTELLIGENT INFORMATION TECHNOLOGY APPLICATION, VOL 3, PROCEEDINGS, 2009, : 303 - 306
  • [23] Semantic-Based Test Case Generation
    Dadkhah, Mahboubeh
    2016 9TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2016, : 377 - 378
  • [24] Literature Review on Test Case Generation Approach
    Setiani, Novi
    Ferdiana, Ridi
    Santosa, Paulus Insap
    Hartanto, Rudy
    PROCEEDINGS OF THE 2019 2ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND INFORMATION MANAGEMENT (ICSIM 2019) / 2019 2ND INTERNATIONAL CONFERENCE ON BIG DATA AND SMART COMPUTING (ICBDSC 2019), 2019, : 91 - 95
  • [25] GUI test case generation from UML
    Limpiyakorn, Y
    Wongsuttipakorn, P
    SERP '05: PROCEEDINGS OF THE 2005 INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH AND PRACTICE, VOLS 1 AND 2, 2005, : 323 - 329
  • [26] Automatic Test Case Generation for Serverless Applications
    Winzinger, Stefan
    Wirtz, Guido
    2022 16TH IEEE INTERNATIONAL CONFERENCE ON SERVICE-ORIENTED SYSTEM ENGINEERING (SOSE 2022), 2022, : 77 - 84
  • [27] Automated Test Case Generation for BDI Agents
    Low C.K.
    Chen T.Y.
    Rönnquist R.
    Autonomous Agents and Multi-Agent Systems, 1999, 2 (4) : 311 - 332
  • [28] Assertion-Directed Test Case Generation
    Zeng, Fanping
    Deng, Chaoqiang
    Yuan, Yuan
    PROCEEDINGS OF THE 2012 THIRD WORLD CONGRESS ON SOFTWARE ENGINEERING (WCSE 2012), 2012, : 41 - 45
  • [29] Modeling component connectors in Reo by constraint automata
    Baier, Christel
    Sirjani, Marjan
    Arbab, Farhad
    Rutten, Jan
    SCIENCE OF COMPUTER PROGRAMMING, 2006, 61 (02) : 75 - 113
  • [30] A Uniform Framework for Modeling and Verifying Components and Connectors
    Baier, Christel
    Blechmann, Tobias
    Klein, Joachim
    Klueppelholz, Sascha
    COORDINATION MODELS AND LANGUAGES, PROCEEDINGS, 2009, 5521 : 247 - 267