标签: aop spring-aop
我试图用Spring AOP在测试报告中记录测试的实际值和期望值,但是我无法获得正确的PointCut表达式来执行此操作。我尝试使用@Before("execution(* * org.fest.assertions..assertThat(..))") @Before("execution(* static org.fest.assertions..assertThat(..))")等,但似乎都不起作用。有人可以帮忙吗?
@Before("execution(* * org.fest.assertions..assertThat(..))")
@Before("execution(* static org.fest.assertions..assertThat(..))")