Join GitHub today
Spring AOP - @Pointcut: @Before advice for @Test methods does not work [SPR-14751] #19317
I want to know if the behaviour is normal or not.
Not sure if
Your explanation about this situation with the solution (extra configuration if exists) should be added in the Spring Framework Reference Documentation
Thanks a lot by your understanding.
Affects: 4.3 GA
Sam Brannen commented
I have answered the question on Stack Overflow.
In summary, Spring is not involved in the instantiation of test classes and therefore is not in a position to apply AspectJ advice to such a test instance.
I am therefore resolving this issue as Works as Designed.
Manuel Jordan commented
Again thanks by the valuable support.
I am confused in some way about that, I wrote a comment in Stack Overflow about that.