Object-oriented Unit Test Based on Aspect-oriented Programming

Feng Bin · Jisuanji gongcheng · 2007

Unit test is regarded as crosscutting concern,which is a very important testing behavior in the process of software test.However,the main objective of aspect-oriented programming(AOP) is to separate crosscutting concerns,so AOP is fit for unit test.This paper brings forward several problems existing in object-oriented unit testing and shows how the AOP can be used to solve them.Virtues and shortcomings of using traditional method and AOP methods to support object-oriented unit test are compared.

Read the paper · More papers on PaperTik