You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Stefano Bagnara <ap...@bago.org> on 2007/09/03 12:35:14 UTC

module tests depending on another module tests

Hi all,

I have a multimodule project and I just organized my tests so that there
are abstract tests in some module and I extend them in depending modules.

The second module declare its dependency on the first one, but I think
this does not include its test classes in the classpath.

What is the simpler way to accomplish this?

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: module tests depending on another module tests

Posted by Stefano Bagnara <ap...@bago.org>.
Sorry, I think I already have an answer:
http://www.sonatype.com/book/using-plugins.html#maven-jar-plugin:test-jar

I was sure I read the whole sonatype book in past, but maybe I missed
this ;-)

Thank you,
Stefano

Stefano Bagnara ha scritto:
> Hi all,
> 
> I have a multimodule project and I just organized my tests so that there
> are abstract tests in some module and I extend them in depending modules.
> 
> The second module declare its dependency on the first one, but I think
> this does not include its test classes in the classpath.
> 
> What is the simpler way to accomplish this?
> 
> Stefano



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org