I think if you unpack all those JARs into test-classes it will work. Alternatively you can write test suites that execute the tests from the JARs without modification to the POM.

There isn't an option to run them directly from the JAR to my knowledge.

- Brett

On 21/03/2009, at 7:53 AM, Anshul Jaiswal wrote:

Folks,

The surefire plugin currently supports automatically searching for unit
testing classes from a directory.

I was wondering if there is way for it to search for unit tests from a set of jar files instead of a directory. ie., a mechanism where I can specify a regex pattern for the package and/or class name and it can search through all the jars in the 'test' scope for classes matching that pattern and run
them.

Thanks in advance!
Anshul

--
Brett Porter
br...@apache.org
http://blogs.exist.com/bporter/


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

Reply via email to