Refactoring the JUnit framework using aspect-oriented programming

  • Authors:
  • Uirá Kulesza;Cláudio Sant'Anna;Carlos Lucena

  • Affiliations:
  • PUC-Rio, Brazil;PUC-Rio, Brazil;PUC-Rio, Brazil

  • Venue:
  • OOPSLA '05 Companion to the 20th annual ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Aspect-Oriented Programming (AOP) has been proposed as a complementary modularization technique to the existing object-oriented techniques. AOP encourages the modular development of complex software by providing support for cleanly separating the basic system functionality from its crosscutting concerns. Since, AOP aims to improve the maintainability and reusability of OO software systems, it is necessary to develop case studies that enable us to evaluate: (i) how it can be used in conjunction with existing OO techniques; and (ii) how it can be used to modularize specific software features better than OO techniques. In this work, we present the refactoring of the JUnit object-oriented framework using the AspectJ programming language. The modularization of specific features of the JUnit framework using AspectJ has brought benefits to the understanding and maintainability of the framework, as well as to implement more flexible extensions.