Architecture conformance analysis using model-based testing: A case study approach

被引:8
|
作者
Uzun, Burak [1 ]
Tekinerdogan, Bedir [1 ]
机构
[1] Wageningen Univ, Informat Technol Grp, Wageningen, Netherlands
来源
SOFTWARE-PRACTICE & EXPERIENCE | 2019年 / 49卷 / 03期
关键词
architecture conformance analysis; case study; model-based testing; software architecture; SOFTWARE ARCHITECTURE; SYSTEM;
D O I
10.1002/spe.2667
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Context: The architectural drift problem defines the discrepancy between the architecture description and the code. Deviations of the code from the architecture can occur if architectural constraints as defined in the architectural models are not implemented in the code. For large-scale systems, manually checking the consistency of the architecture with the code is not trivial and cumbersome.Objective: The overall objective of this paper is to propose and analyze the effectiveness and practicality of an architecture conformance analysis approach using model-based testing (ACAMBT) approach for checking the consistency between architectural models and the code. Hereby, we consider the case whereby the architecture is assumed correct, and the code needs to align with the architecture.Method: We propose a model-based testing that uses architectural views to automatically derive test cases for checking the architectural constraints in the code. We have evaluated the approach and the corresponding toolset for a real industrial case study using a systematic case study protocol. Further, we have adopted exhaustive fault-injection techniques to detect the constraint violations.Results: The evaluation of the approach on real code showed that deviations with the architectural constraints could be easily detected in the code.Conclusion: We can conclude that ACAMBT is effective for identifying inconsistencies between the architecture views and the code for the defined view constraints. Our survey study with practitioners showed that adopting the ACAMBT approach is practical and easy to use. The approach as such can be considered as a complimentary tool to the existing testing and reflexion modeling approaches.
引用
收藏
页码:423 / 448
页数:26
相关论文
共 50 条
  • [1] Model-based firewall conformance testing
    Brucker, Achim D.
    Bruegger, Lukas
    Wolff, Burkhart
    [J]. TESTING OF SOFTWARE AND COMMUNICATING SYSTEMS, PROCEEDINGS, 2008, 5047 : 103 - +
  • [2] Achieving SCA Conformance Testing with Model-Based Testing
    Julien Botella
    Jean-Philippe Delahaye
    Eddie Jaffuel
    Bruno Legeard
    Fabien Peureux
    [J]. Journal of Signal Processing Systems, 2016, 83 : 113 - 128
  • [3] Achieving SCA Conformance Testing with Model-Based Testing
    Botella, Julien
    Delahaye, Jean-Philippe
    Jaffuel, Eddie
    Legeard, Bruno
    Peureux, Fabien
    [J]. JOURNAL OF SIGNAL PROCESSING SYSTEMS FOR SIGNAL IMAGE AND VIDEO TECHNOLOGY, 2016, 83 (01): : 113 - 128
  • [4] Model-based testing of environmental conformance of components
    Frantzen, Lars
    Tretmans, Jan
    [J]. FORMAL METHODS FOR COMPONENTS AND OBJECTS, 2007, 4709 : 1 - +
  • [5] Using model-based testing to assess smart card interoperability conformance
    Blackburn, M
    Chandramouli, R
    [J]. INTERNATIONAL CONFERENCE ON COMPUTING, COMMUNICATIONS AND CONTROL TECHNOLOGIES, VOL 2, PROCEEDINGS, 2004, : 23 - 28
  • [6] Model-based Security Testing Using UMLsec A Case Study
    Juerjens, Jan
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2008, 220 (01) : 93 - 104
  • [7] Model-Based Testing of PLC Programs With Appropriate Conformance Relations
    Guignard, Anais
    Faure, Jean-Marc
    Faraut, Gregory
    [J]. IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, 2018, 14 (01) : 350 - 359
  • [8] Towards Decentralized Conformance Checking in Model-Based Testing of Distributed Systems
    Lima, Bruno
    Faria, Joao Pascoal
    [J]. 10TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS - ICSTW 2017, 2017, : 356 - 365
  • [9] A case study in model-based testing of specifications and implementations
    Miller, Tim
    Strooper, Paul
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2012, 22 (01): : 33 - 63
  • [10] Model-Based Testing of SDN Firewalls: A Case Study
    Alsmadi, Izzat
    Munakami, Milson
    Xu, Dianxiang
    [J]. 2015 SECOND INTERNATIONAL CONFERENCE ON TRUSTWORTHY SYSTEMS AND THEIR APPLICATIONS, 2015, : 73 - 80