Testing Aspect Oriented Programs by Automated Process Based on Unified Modelling Diagrams
Main Article Content
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
Article Details
COPYRIGHT
Submission of a manuscript implies: that the work described has not been published before, that it is not under consideration for publication elsewhere; that if and when the manuscript is accepted for publication, the authors agree to automatic transfer of the copyright to the publisher.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work
- The journal allows the author(s) to retain publishing rights without restrictions.
- The journal allows the author(s) to hold the copyright without restrictions.