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 条
  • [41] Model-based Automated Testing of Mobile Applications: An Industrial Case Study
    Karlsson, Stefan
    Causevic, Adnan
    Sundmark, Daniel
    Larsson, Marten
    [J]. 2021 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW 2021), 2021, : 130 - 137
  • [42] A FRAME-BASED APPROACH TO CONFORMANCE TESTING
    DIBUZ, S
    [J]. MICROPROCESSING AND MICROPROGRAMMING, 1993, 39 (2-5): : 191 - 194
  • [43] Utility-based approach to learning in a mixed case-based and model-based reasoning architecture
    van Someren, M
    Surma, J
    Torasso, P
    [J]. CASE-BASED REASONING RESEARCH AND DEVELOPMENT, 1997, 1266 : 477 - 488
  • [44] Model-based testing approach for mobile agents using the paradigm of reference net
    Kissoum, Yacine
    Sahnoun, Zaidi
    Barkaoui, Kamel
    [J]. MULTIAGENT AND GRID SYSTEMS, 2010, 6 (04) : 271 - 292
  • [45] A model-based approach for testing GUI using hierarchical predicate transition nets
    Reza, Hassan
    Endapally, Sandeep
    Grant, Emanuel
    [J]. INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY, PROCEEDINGS, 2007, : 366 - +
  • [46] Model-based test case prioritization using cluster analysis: a soft-computing approach
    Gokce, Nida
    Belli, Fevzi
    Eminli, Mubariz
    Dincer, Bekir Taner
    [J]. TURKISH JOURNAL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCES, 2015, 23 (03) : 623 - +
  • [47] Evaluating a model-based software testing approach in an industrial context A replicated study
    Berdasco, Ana
    Martinez, Alexandra
    Quesada-Lopez, Christian
    [J]. 2019 14TH IBERIAN CONFERENCE ON INFORMATION SYSTEMS AND TECHNOLOGIES (CISTI), 2019,
  • [48] Model-based Testing and Monitoring using AgileUML
    Lano, Kevin
    Jin, Kunxiang
    Tyagi, Shefali
    [J]. 12TH INTERNATIONAL CONFERENCE ON AMBIENT SYSTEMS, NETWORKS AND TECHNOLOGIES (ANT) / THE 4TH INTERNATIONAL CONFERENCE ON EMERGING DATA AND INDUSTRY 4.0 (EDI40) / AFFILIATED WORKSHOPS, 2021, 184 : 773 - 778
  • [49] "Overloaded!" - A Model-Based Approach to Database Stress Testing
    Meira, Jorge Augusto
    de Almeida, Eduardo Cunha
    Kim, Dongsun
    Lucas Filho, Edson Ramiro
    Le Traon, Yves
    [J]. DATABASE AND EXPERT SYSTEMS APPLICATIONS, DEXA 2016, PT I, 2016, 9827 : 207 - 222
  • [50] A Layered Approach for Testing Timing in the Model-Based Implementation
    Kim, BaekGyu
    Hwang, Hyeon I.
    Park, Taejoon
    Son, Sang H.
    Lee, Insup
    [J]. 2014 DESIGN, AUTOMATION AND TEST IN EUROPE CONFERENCE AND EXHIBITION (DATE), 2014,