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 条
  • [21] Model-based testing for realThe inhouse card case study
    A. Pretschner
    O. Slotosch
    E. Aiglstorfer
    S. Kriebel
    [J]. International Journal on Software Tools for Technology Transfer, 2004, 5 (2-3) : 140 - 157
  • [22] Model-based Development of a System of Systems Using Unified Architecture Framework (UAF): A Case Study
    Eichmann, Oliver C.
    Melzer, Sylvia
    God, Ralf
    [J]. 2019 13TH ANNUAL IEEE INTERNATIONAL SYSTEMS CONFERENCE (SYSCON), 2019,
  • [23] Testing cockpit display systems of aircraft using a model-based approach
    Hassan Sartaj
    Muhammad Zohaib Iqbal
    Muhammad Uzair Khan
    [J]. Software and Systems Modeling, 2021, 20 : 1977 - 2002
  • [24] Testing cockpit display systems of aircraft using a model-based approach
    Sartaj, Hassan
    Iqbal, Muhammad Zohaib
    Khan, Muhammad Uzair
    [J]. SOFTWARE AND SYSTEMS MODELING, 2021, 20 (06): : 1977 - 2002
  • [25] On Combining Model-Based Analysis and Testing
    Saadatmand, Mehrdad
    Sjodin, Mikael
    [J]. PROCEEDINGS OF THE 2013 10TH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY: NEW GENERATIONS, 2013, : 260 - 266
  • [26] Deriving Usage Model Variants for Model-based Testing: An Industrial Case Study
    Samih, Hamza
    Le Guen, Helene
    Bogusch, Ralf
    Acher, Mathieu
    Baudry, Benoit
    [J]. 2014 19TH INTERNATIONAL CONFERENCE ON ENGINEERING OF COMPLEX COMPUTER SYSTEMS (ICECCS 2014), 2014, : 77 - 80
  • [27] A Model-Based Approach for RFID Application Testing
    Huebner, Andreas
    Facchi, Christian
    Meyer, Markus
    Janicke, Helge
    [J]. 2013 12TH IEEE INTERNATIONAL CONFERENCE ON TRUST, SECURITY AND PRIVACY IN COMPUTING AND COMMUNICATIONS (TRUSTCOM 2013), 2013, : 1490 - 1497
  • [28] Testing Environment Emulation - A Model-based Approach
    Liu, Jian
    Grundy, John
    Abdelrazek, Mohamed
    Avazpour, Iman
    [J]. MODELSWARD: PROCEEDINGS OF THE 5TH INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT, 2017, : 112 - 124
  • [29] Model-based system analysis using Chi and Uppaal: An industrial case study
    Braspenning, N. C. W. M.
    Bortnik, E. M.
    van de Mortel-Fronczak, J. M.
    Rooda, J. E.
    [J]. COMPUTERS IN INDUSTRY, 2008, 59 (01) : 41 - 54
  • [30] A threat model-based approach to security testing
    Marback, Aaron
    Do, Hyunsook
    He, Ke
    Kondamarri, Samuel
    Xu, Dianxiang
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 2013, 43 (02): : 241 - 258