An incremental approach to testing AOP

André Restivo, Ademar Aguiar, Ana Moreira

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

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
Pages309-331
Number of pages23
Volume743
ISBN (Print)9783319625683
DOIs
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
Volume743
ISSN (Print)1865-0929

Conference

Conference11th International Joint Conference on Software Technologies, ICSOFT 2016
CountryPortugal
CityLisbon
Period24/07/1626/07/16

Keywords

  • Application programs
  • Reusability

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

Cite this