DocumentCode
3448163
Title
Generating unit test sequences for aspect-oriented programs: towards a formal approach using UML state diagrams
Author
Badri, Mourad ; Badri, Linda ; Bourque-Fortin, Maxime
Author_Institution
Dept. of Math. & Comput. Sci., Quebec Univ., Trois-Rivieres, Que.
fYear
2005
fDate
5-6 Dec. 2005
Firstpage
237
Lastpage
253
Abstract
Aspect-oriented programming is an emerging software engineering paradigm that improves separation of crosscutting concerns in a program. Existing object-oriented programming languages suffer from a serious limitation in modularizing adequately crosscutting concerns. Many concerns crosscut several classes in an object-oriented system. However, in spite of the many claimed benefits that the aspect paradigm seems to be offering, it remains clear that it is not yet mature. Aspect technology introduces, in fact, new dimensions in terms of control and complexity. Moreover, aspects have great latitude to interact with basic classes of a system. Those interactions constitute a new source for faults in a program. Existing object-oriented testing techniques are not adequate for testing aspect-oriented programs. Thus, new testing techniques must be developed for aspect-oriented programs. We present, in this paper, a new technique for aspect-oriented unit testing based on dynamic behavior. We also introduce several testing criteria. We focus on the integration of one or more aspects to a class. The proposed technique is based on UML statecharts. The primary objective is to verify that this integration is done correctly, without modifying the original behavior of the basic class
Keywords
Unified Modeling Language; object-oriented languages; object-oriented programming; program testing; UML state diagrams; aspect-oriented programs; object-oriented programming languages; unit test sequences; Collaborative work; Computer science; Java; Laboratories; Object oriented programming; Scattering; Software engineering; Software testing; Unified modeling language; Aspect-Oriented Software Testing; Aspects; Classes; Generation; Test Sequences; UML Statechart Criteria; Unit testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Information and Communications Technology, 2005. Enabling Technologies for the New Knowledge Society: ITI 3rd International Conference on
Conference_Location
Cairo
Print_ISBN
0-7803-9270-1
Type
conf
DOI
10.1109/ITICT.2005.1609627
Filename
1609627
Link To Document