The following comment has been added to this issue:
Author: Vincent Massol
Created: Thu, 26 Feb 2004 3:35 AM
Body:
It would be easy to autoweave the test *but* I'm not sure it should be part of the
aspectj plugin. I have on my machine another plugin that I have never committed (and
which is not finished) which I called ajtest. For AspectJ test. It's for implement
unit testing with AspectJ. It looks for test sources in src/test-aspectj which allows
to cleanly spearate pure JUnit tests from AspectJ-based unit tests. Not sure if I'll
have the time to work on it before a long time but this is something that I would have
liked to see too. That said, I'm currently working on Cactus2 (along with a Maven
plugin) which uses the same principle (it's using AspectWerkz) except the code runs on
server side and most of my free time is currently used by Cactus2.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPASPECTJ-6&page=comments#action_17160
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPASPECTJ-6
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPASPECTJ-6
Summary: autoweave test code before running tests
Type: Improvement
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-aspectj-plugin
Assignee:
Reporter: John Fallows
Created: Wed, 25 Feb 2004 8:58 PM
Updated: Thu, 26 Feb 2004 3:35 AM
Environment: maven-1.0-rc1, WinXP, J2SE 1.4.2
Description:
I have recently started to use virtual mock objects (http://www.virtualmock.org) that
make heavy use of AspectJ in the test cases of a maven project.
I noticed that the latest AspectJ plugin has support for autoweaving the project
sources, but not the test sources.
Once you have resolved how to weave the compiled classes instead of just the JAR, how
difficult would it be to autoweave the test classes as well?
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]