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 条
  • [31] Component-Based Software Development with Aspect-Oriented Programming
    Eichberg, Michael
    [J]. JOURNAL OF OBJECT TECHNOLOGY, 2005, 4 (03): : 21 - 26
  • [32] Dynamic adaptation of aspect-oriented components
    Costa, Cristobal
    Perez, Jennifer
    Carsí, Jose Angel
    [J]. COMPONENT-BASED SOFTWARE ENGINEERING, PROCEEDINGS, 2007, 4608 : 49 - +
  • [33] Supporting Dynamic Aspect-Oriented Features
    Dyer, Robert
    Rajan, Hridesh
    [J]. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2010, 20 (02)
  • [34] A dynamic component and aspect-oriented platform
    [J]. Pinto, M. (pinto@lcc.uma.es), 1600, Oxford University Press (48):
  • [35] A dynamic component and aspect-oriented platform
    Pinto, M
    Fuentes, L
    Troya, JM
    [J]. COMPUTER JOURNAL, 2005, 48 (04): : 401 - 420
  • [36] A modelling proposal for aspect-oriented software architectures
    Perez, Jennifer
    Navarro, Elena
    Letelier, Patricio
    Ramos, Isidro
    [J]. 13TH ANNUAL IEEE INTERNATIONAL SYMPOSIUM AND WORKSHOP ON ENGINEERING OF COMPUTER BASED SYSTEMS, PROCEEDINGS: MASTERING THE COMPLEXITY OF COMPUTER-BASED SYSTEMS, 2006, : 32 - +
  • [37] Impact of aspect-oriented programming on software modularity
    Przybylek, Adam
    [J]. 2011 15TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR), 2011, : 369 - 372
  • [38] Coordination in software architectures:: an aspect-oriented approach
    Perez, Jennifer
    Llavador, Manuel
    Carsi, Jose A.
    Canos, Jose H.
    Ramos, Isidro
    [J]. 5TH WORKING IEEE/IFIP CONFERENCE ON SOFTWARE ARCHITECTURE, PROCEEDINGS, 2006, : 219 - +
  • [39] Aspect-oriented modeling for embedded software design
    Noda, Natsuko
    Kishi, Tomoji
    [J]. 14TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2007, : 342 - +
  • [40] Mobile ambients in aspect-oriented software architectures
    Ali, Nour
    Perez, Jennifer
    Costa, Cristobal
    Ramos, Isidro
    Carsi, Jose A.
    [J]. SOFTWARE ENGINEERING TECHNIQUES: DESIGN FOR QUALITY, 2006, 227 : 37 - +