Object-oriented Unit Test Based on Aspect-oriented Programming

ZHANG Yan,ZHAO Jian-jun,FENG Bin
DOI: https://doi.org/10.3969/j.issn.1000-3428.2007.22.027
2007-01-01
Abstract: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.
What problem does this paper attempt to address?