Please use this identifier to cite or link to this item: https://hdl.handle.net/10216/85602
Author(s): André Restivo
Ademar Aguiar
Ana Moreira
Title: Incremental modular testing for AOP
Issue Date: 2016
Abstract: By designing systems as sets of modules that can be composed into larger applications, developers unleasha multitude of advantages. The promise of AOP (Aspect-Oriented Programming) is to enable developers toorganize crosscutting concerns into separate units of modularity making it easier to accomplish this vision.However, AOP does not allow unit tests to be untangled, which impairs the development of properly testedindependent modules. This paper presents a technique that enables developers to encapsulate crosscuttingconcerns using AOP and still be able to develop reusable unit tests. Our approach uses incremental testingand invasive aspects to modify and adapt tests. The approach was evaluated in a medium scale project withpromising results. Without using the proposed technique, due to the presence of invasive aspects, some unittests would have to be discarded or modified to accommodate the changes made by them. This would havea profound impact on the overall modularity and, in particular, on the reusability of those modules. We willshow that this technique enables proper unit tests that can be reused even when coupled with aspect-orientedcode.
URI: https://repositorio-aberto.up.pt/handle/10216/85602
Source: Proceedings of the 11th International Joint Conference on Software Technologies
Document Type: Artigo em Livro de Atas de Conferência Internacional
Rights: openAccess
License: https://creativecommons.org/licenses/by-nc/4.0/
Appears in Collections:FEUP - Artigo em Livro de Atas de Conferência Internacional

Files in This Item:
File Description SizeFormat 
146901.pdf288.36 kBAdobe PDFThumbnail
View/Open


This item is licensed under a Creative Commons License Creative Commons