Hello Im having trouble integrating AspectJ with Junit testing.
I need to get a different log for each test in a testsuite. So I need to know in my aspect when a new test case is being run and when did it finished. How can I define such point cut?
The following pointcut is not working for me, its just being entered once.
: execution (* *.test(..));
Why use an aspect if you could use with JUnit4 @Before or the pendant in JUnit3 by using a method setUp()?
以上就是Creating a pointcut in Aspectj for each Junit test in a testsuite的详细内容，更多请关注web前端其它相关文章！