Testing Aspect Oriented Programs by Automated Process Based on Unified Modelling Diagrams

Main Article Content

Sunidhi Sharma
Geetanjali Babbar

Abstract

Aspect Oriented Programming is an emerging software engineering paradigm that offers new constructs in order to improve separation of crosscutting concerns into single units called aspects. AspectJ, the most used aspect-oriented programming language, represents an extension o java. In all the previous years, object oriented language has been widely used but today Aspect Oriented Programming is gaining a lot of popularity because this language has solved most of the problems of crosscutting concerns, which makes the code understandable and simplifies software maintenance and evolution. It provides new constructs namely join points, point cuts, advices and aspects. Because of new constructs, new types of faults may rise. So, existing testing techniques are not adequate for testing aspect-oriented programs. As a result, we need to add new techniques in order to get an appropriate solution. In this paper, an approach based upon UML diagrams for testing aspect-oriented programs automatically is presented. The approach focuses on generating test sequences based on the attributes available in input aspect oriented code. In the research, I have proposed an automatic fault detection mechanism with the help of UML diagrams which can detect various errors. Sequences will be generated automatically and fault detection in Aspect-Oriented codes will validate the correct working and errors.


Keywords: Aspect Oriented Programming, Joinpoints, Object Oriented Programming, Pointcuts, UML Class Diagrams, Test Sequences

Downloads

Download data is not yet available.

Article Details

Section
Articles