A Model-Based Testing Method for Dynamic Aspect-Oriented Software

被引:2
|
作者
Pires Souza, Maria Laura [1 ]
Silveira, Fabio Fagundes [1 ]
机构
[1] Fed Univ Sao Paulo UNIFESP, Sao Jose Dos Campos, Brazil
基金
巴西圣保罗研究基金会;
关键词
Dynamic aspect-oriented; Model-based testing; Mutation testing;
D O I
10.1007/978-3-319-62407-5_7
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Aspect-oriented programming (AOP) is used to implement crosscutting concerns such as persistence and safety in program units called aspects. To ensure that these concerns behave as specified and do not introduce faults into the application, rigorous software testing practices should be applied. Even though there are statements in the literature that the adoption of AOP takes a software to get better quality, it does not provide correctness by itself. Therefore, the test remains an important activity to ensure aspects are correctly integrated into the main system. Additionally, in a dynamic environment: new aspects may be incompatible with aspects already woven; and aspects to be removed can hold the system to an inconsistent state. Available approaches in the literature do not directly investigate the problem of testing dynamic aspects within the context of a target application. This paper presents a method to apply tests in dynamic aspects that verify the interactions between aspects and classes, as well as among aspects. Aiming to support the method, we also introduce a model to represent the dynamic behavior of aspects and a new strategy to derive testing cases. To evaluate the effectiveness of the test cases generated by the method, mutation operators were applied to the model and simulated with a model checker. Results showed that the approach is capable of detecting faults in dynamic aspects interactions into a target application.
引用
收藏
页码:95 / 111
页数:17
相关论文
共 50 条
  • [1] A Systematic Review of Model-Based Testing in Aspect-Oriented Software Systems
    Hooda, Susheela
    Dalal, Sandeep
    Solanki, Kamna
    [J]. PROCEEDINGS OF THE 10TH INDIACOM - 2016 3RD INTERNATIONAL CONFERENCE ON COMPUTING FOR SUSTAINABLE GLOBAL DEVELOPMENT, 2016, : 2944 - 2949
  • [2] Managing the evolution of aspect-oriented software with model-based pointcuts
    Kellens, Andy
    Mens, Kim
    Brichau, Johan
    Gybels, Kris
    [J]. ECOOP 2006 - OBJECT-ORIENTED PROGRAMMING, PROCEEDINGS, 2006, 4067 : 501 - 525
  • [3] Model for Dynamic Evolution of Aspect-Oriented Software
    Katic, Marija
    Fertalj, Kresimir
    [J]. 2011 15TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR), 2011, : 377 - 380
  • [4] A model-based aspect-oriented framework for building intrusion-aware software systems
    Zhu, Zhi Jian
    Zulkernine, Mohammad
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2009, 51 (05) : 865 - 875
  • [5] A Model-Based Method for Modeling and Verifying Event-Based Aspect-Oriented Applications
    Hong Anh Le
    Ninh Thuan Truong
    Nanthaamornphong, Aziz
    [J]. RECENT ADVANCES AND FUTURE PROSPECTS IN KNOWLEDGE, INFORMATION AND CREATIVITY SUPPORT SYSTEMS, 2018, 685 : 281 - 289
  • [6] Aspect-oriented Dynamic Weaving Testing Based on Sequence Diagrams
    Xiao, Kun
    [J]. INDUSTRIAL INSTRUMENTATION AND CONTROL SYSTEMS II, PTS 1-3, 2013, 336-338 : 1957 - 1963
  • [7] A component-based and aspect-oriented model for software evolution
    Pessemier, Nicolas
    Seinturier, Lionel
    Duchien, Laurence
    Coupaye, Thierry
    [J]. INTERNATIONAL JOURNAL OF COMPUTER APPLICATIONS IN TECHNOLOGY, 2008, 31 (1-2) : 94 - 105
  • [8] A model curriculum for aspect-oriented software development
    Brichau, Johan
    Chitchyan, Ruzanna
    Garcia, Alessandro
    Rashid, Awais
    Clarke, Siobhan
    D'Hondt, Ellie
    Haupt, Michael
    Joosen, Wouter
    Katz, Shmuel
    Noye, Jacques
    Suedholt, Mario
    [J]. IEEE SOFTWARE, 2006, 23 (06) : 53 - +
  • [9] A Framework for Dynamic Evolution Based on Reflective Aspect-Oriented Software Architecture
    Zhang, Guangquan
    Rong, Mei
    [J]. ICCIT: 2009 FOURTH INTERNATIONAL CONFERENCE ON COMPUTER SCIENCES AND CONVERGENCE INFORMATION TECHNOLOGY, VOLS 1 AND 2, 2009, : 7 - +
  • [10] Aspect-Oriented Approach for Testing Software Applications and Automatic Aspect Creation
    Jain, Manish
    Gopalani, Dinesh
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2019, 29 (10) : 1379 - 1402