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 条
  • [41] Test case generation for the task tree type of architecture
    Popovic, M.
    Basicevic, I.
    INFORMATION AND SOFTWARE TECHNOLOGY, 2010, 52 (06) : 697 - 706
  • [42] A novel approach of test case generation for Boolean specification
    Li L.
    Xu B.
    Chen Z.
    Zhang X.
    Dong G.
    Dongnan Daxue Xuebao (Ziran Kexue Ban)/Journal of Southeast University (Natural Science Edition), 2010, 40 (02): : 291 - 295
  • [43] An Approach to Automatic Test Case Generation for Unit Testing
    Liu, Pan
    Xu, Zhenning
    Ai, Jun
    2018 IEEE 18TH INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY COMPANION (QRS-C), 2018, : 545 - 552
  • [44] Systematic Mapping Study in Automatic Test Case Generation
    Mohi-Aldeen, Shayma Mustafa
    Deris, Safaai
    Mohamad, Radziah
    NEW TRENDS IN SOFTWARE METHODOLOGIES, TOOLS AND TECHNIQUES, 2014, 265 : 703 - 720
  • [45] Intra component GUI test case generation technique
    Hayat, Muhammad Umar
    Qadeer, Nauman
    ICIET 2007: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON INFORMATION AND EMERGING TECHNOLOGIES, 2007, : 154 - +
  • [46] Path Reliability in Automated Test Case Generation Process
    Choudhary, Kavita
    Rani, Payal
    Shilpa
    INFORMATION SYSTEMS DESIGN AND INTELLIGENT APPLICATIONS, VOL 1, INDIA 2016, 2016, 433 : 467 - 474
  • [47] The Use of Ontology in Case Based Reasoning for Reusable Test Case Generation
    Li, Rui
    Ma, Shilong
    PROCEEDINGS OF THE 2015 INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE AND INDUSTRIAL ENGINEERING (AIIE 2015), 2015, 123 : 369 - 374
  • [48] Identifying Test-Suite-Overfitted Patches through Test Case Generation
    Xin, Qi
    Reiss, Steven P.
    PROCEEDINGS OF THE 26TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS (ISSTA'17), 2017, : 226 - 236
  • [49] Application of an Improved Combinatorial Test Strategy in Test Case Generation for Aviation Software
    Qiu, Xiaohan
    Jing, Hua
    Zhang, Wei
    PROCEEDINGS OF THE 6TH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY: IOT AND SMART CITY (ICIT 2018), 2018, : 65 - 69
  • [50] Test Case Generation for Context Testing of Embedded Systems
    Yang, Qi-Ping
    Kim, Tae-Hyong
    INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2007, 7 (11): : 142 - 148