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 条
  • [1] Refinement and Test Case Generation in UTP
    Aichernig, Bernhard K.
    He, Jifeng
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2007, 187 (125-143) : 125 - 143
  • [2] Fault-based Test Case Generation for Component Connectors
    Aichernig, Bernhard K.
    Arbab, Farhad
    Astefanoaei, Lacramioara
    de Boer, Frank S.
    Meng, Sun
    Rutten, Jan
    THIRD INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF SOFTWARE ENGINEERING, PROCEEDINGS, 2009, : 147 - 154
  • [3] Traceability-driven model refinement for test case generation
    Riebisch, M
    Hübner, M
    12TH IEEE INTERNATIONAL CONFERENCE AND WORKSHOPS ON THE ENGINEERING OF COMPUTER-BASED SYSTEMS, PROCEEDINGS, 2005, : 113 - 120
  • [4] Connectors as Designs
    Meng, Sun
    Arbab, Farhad
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2009, 255 : 119 - 135
  • [5] Test Case Generation using Unified Modeling Language
    Shah, Syed Asad Ali
    Bukhari, Syed Shafique Ali
    Humayun, Mamoona
    Jhanjhi, N. Z.
    Abbas, Syed Fakhar
    2019 INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION SCIENCES (ICCIS), 2019, : 211 - 216
  • [6] Test generation for designs with multiple clocks
    Lin, XJ
    Thompson, R
    40TH DESIGN AUTOMATION CONFERENCE, PROCEEDINGS 2003, 2003, : 662 - 667
  • [7] Combining behavior and data modeling in automated test case generation
    Schroeder, PJ
    Kim, E
    Arshem, J
    Bolaki, P
    THIRD INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, PROCEEDINGS, 2003, : 247 - 254
  • [8] A Language for Test Case Refinement in the Test Template Framework
    Cristia, Maximiliano
    Hollmann, Diego
    Albertengo, Pablo
    Frydman, Claudia
    Rodriguez Monetti, Pablo
    FORMAL METHODS AND SOFTWARE ENGINEERING, 2011, 6991 : 601 - +
  • [9] Simulation based test generation for scan designs
    Pomeranz, I
    Reddy, SM
    ICCAD - 2000 : IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER AIDED DESIGN, 2000, : 544 - 549
  • [10] Abstraction and refinement of mathematical functions toward SMT-based test-case generation
    Kutsuna, Takuro
    Ishii, Yoshinao
    Yamamoto, Akihiro
    INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2016, 18 (01) : 109 - 120