An incremental approach to testing AOP

André Restivo, Ademar Aguiar, Ana Moreira

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review


Breaking down applications into smaller modules is a common way for software developers to cope with the increasing complexity of their projects. A common barrier to this endeavor is the presence of crosscutting concerns that prevent reusability and reduce comprehensibility. The promise of AOP (Aspect-Oriented Programming) is that, by using it, developers will be able to organize these crosscutting concerns into their own units of modularity. However, AOP does not tackle the problem of having tangled automatic tests. This paper presents a technique using incremental testing and invasive aspects to modify and adapt tests, enabling the development of unit tests that are free of crosscutting concerns and thus easier to reuse. Using a medium scale project, we will show that without using this technique, due to the presence of invasive aspects, some unit tests would have to be discarded or modified to accommodate the changes made by them.

Original languageEnglish
Title of host publicationSoftware Technologies - 11th International Joint Conference, ICSOFT 2016, Revised Selected Papers
PublisherSpringer Verlag
Number of pages23
ISBN (Print)9783319625683
Publication statusPublished - 2017
Event11th International Joint Conference on Software Technologies, ICSOFT 2016 - Lisbon, Portugal
Duration: 24 Jul 201626 Jul 2016

Publication series

NameCommunications in Computer and Information Science
ISSN (Print)1865-0929


Conference11th International Joint Conference on Software Technologies, ICSOFT 2016


  • Application programs
  • Reusability


Dive into the research topics of 'An incremental approach to testing AOP'. Together they form a unique fingerprint.

Cite this