You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To fix running *MethodSecurityTest-s under Cobertura I run them with
maven-failsafe-plugin with other integration tests instead of using
maven-surefire-plugin which runs unit tests.
Another way is to adding <aop:config proxy-target-class="true" /> to
configuration (as proposed at http://stackoverflow.com/a/8392775/352708).
But I dislike it because:
- we need to modify configuration which needed only to tests when they
runs under Cobertura
- in this case we should add dependency to aspectjweaver
0 commit comments