I thought the test-jar packaging was supposed to make this work.... of course I have not been able to get it to work....
I've been thinking it's because my tests are all JUnit 4.4 and not 3.8.2... but maybe it's just that surefire does not look inside test-jar dependencies -Stephen 2009/3/21 Brett Porter <br...@apache.org> > 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 > >