Minimizing stub creation during integration test of aspect-oriented programs

  • Authors:
  • Reginaldo Ré;Otávio Augusto Lazzarini Lemos;Paulo Cesar Masiero

  • Affiliations:
  • University of Paraná, Brazil;ICMC-USP, Carlos, Brazil;ICMC-USP, Carlos, Brazil

  • Venue:
  • Proceedings of the 3rd workshop on Testing aspect-oriented programs
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

A problem related to the integration test of Object-Oriented programs is the order in which classes are integrated and tested. This problems also appears in Aspect-Oriented programs. The incremental integration strategy, which suggests that classes are tested first and then integrated to the aspects, is often proposed as the more adequate strategy to integrate classes and aspects. This work presents a study about ordering classes and aspects in Aspect-Oriented programming to minimize the number of stubs in integration test. A dependency type model among classes and aspects is defined considering the syntax constructions and the semantics of AspectJ. An algorithm for class ordering is adapted and applied to an AOP program and the result obtained is analyzed and discussed, showing that a more refined strategy than the plain incremental approach is better in several situations.