Loading...

A Method for Testing Aspect-Oriented Programs

Shokouhi, Sahar | 2013

704 Viewed
  1. Type of Document: M.Sc. Thesis
  2. Language: Farsi
  3. Document No: 45082 (19)
  4. University: Sharif University of Technology
  5. Department: Computer Engineering
  6. Advisor(s): Mirian Hosseinabadi, Hassan
  7. Abstract:
  8. Aspect-Oriented Programming is a software engineering paradigm that offers new constructs, such as join points, pointcuts, advices and aspects in order to improve separation of crosscutting concerns. The new constructs bring new type of programming faults with respect to crosscutting concerns, such as incorrect pointcuts, advice or aspect precedence. In fact, existing object-oriented testing techniques are not adequate for testing aspect-oriented programs. As a result, new testing techniques must be developed. In this paper, an approach based upon UML sequence diagrams for testing aspect- oriented program is presented. The proposed approach focuses on integration of one or several crosscutting concerns to a primary concern and tests whether or not an aspect- oriented program conforms to its expected crosscutting behaviors. The proposed approach generates test sequences based on interaction between aspects and primary models, and verifies the execution of the selected sequences. It also, follows an interactive process which cause to discover faults easily and quickly. The approach is based on several test criteria that are defined.To illustrate the approach, a case study is used which its results show that the approach is capable of revealing several aspect-specific fault types
  9. Keywords:
  10. Grammar Based Testing ; Aspect Oriented Programming ; Sequence Diagram ; Test Criteria ; Unified Modeling Language (UML)

 Digital Object List

 Bookmark

No TOC