Mutation Testing for Aspect-Oriented Programs

  • Authors:
  • Fabiano Cutigi Ferrari;José Carlos Maldonado;Awais Rashid

  • Affiliations:
  • -;-;-

  • Venue:
  • ICST '08 Proceedings of the 2008 International Conference on Software Testing, Verification, and Validation
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Mutation testing has been shown to be one of the strongest testing criteria for the evaluation of both programs and test suites. Comprehensive sets of mutants require strong test sets to achieve acceptable testing coverage. Moreover, mutation operators are valuable for the evaluation of other testing approaches. Although its importance has been highlighted for Aspect-Oriented (AO) programs, there is still a need for a suitable set of mutation operators for AO languages. The quality of the mutation testing itself relies on the quality of such operators. This paper presents the design of a set of mutation operators for AspectJ-based programs. These operators model instances of fault types identified in an extensive survey. The fault types and respective operators are grouped according to the related languages features. We also discuss the generalisation of the fault types to AO approaches other than AspectJ and the coverage that may be achieved with the application of the proposed operators. In addition, a cost analysis based on two case studies involving real-world applications has provided us feedback on the most expensive operators, which will support the definition of further testing strategies.