Hi there,

I want to exclude aspectj codes from being executed when I unit test. What is 
the best way to do that? 

Manipulating my pointcut such that it does not execute when the caller has 
“@Test” annotation?
Using maven goals and exclusion tags? (If so how exactly?)
One note about the possible maven solution: I guess that maven solution will 
only help if "mvn test”  command is run and cannot help when running the unit 
test directly (Right clicking on the test file-> Run As JUnit Test) 

Thanks for the help in advance.

_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to