Emmanuel Venisse wrote:
You can create a project that contain all tests in src/main/java
in projects A and B, you add a dependency to "test project" with test
scope.
and finally in src/test/java of projects A and B, you create empty
classes that extends classes in "test project".
I take a different approach. I add A's tests to B as unit test
/resources/. That way they get copied over to B/target/test-classes
before test:test runs and searches for *Test classes.
I have two projects A and B, and I would like to execute on my project B
the test case defines on project A.
I have write dependency on project B but when I try to execute test on B
no test were found.
<dependency>
<groupId>com.bmc.td</groupId>
<artifactId>vp</artifactId>
<version>2.0-SNAPSHOT</version>
<type>test-jar</type>
<scope>build</scope>
</dependency>
Thanks,
--Christophe Gierski
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]