Hello,

 

We have a multi-module maven project where we want to run tests that are
in a first module verbatim in a second module. It would seem a good
solution to this would be to package up a test-jar artifact from the
first project and make the second project depend on that test-jar.
Unfortunately, there doesn't seem to be any clear way to make the
Surefire plugin see those tests and run them from the jar. It looks like
Surefire is only aware of actual files on the file system in the
directories ${project.build.testSourceDirectory} and
${project.build.testOutputDirectory} . Am I missing anything? Is there a
way to point Surefire at a test-jar and have it run the tests directly
from the jar?

 

Thanks,

 

j


 
*********************
Please note our new address, effective September 22, 2008:
 
652 Peter Jefferson Pkwy, Suite 300
Charlottesville, VA 22911
 
All phone/fax numbers and email addresses will remain the same.
*********************

Reply via email to