[ 
https://jira.codehaus.org/browse/SUREFIRE-569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=317229#comment-317229
 ] 

Aslak Knutsen commented on SUREFIRE-569:
----------------------------------------

I have a fix for this here: 
https://github.com/aslakknutsen/maven-surefire/commit/d6390d36fc491db10e7579af1535879e8b181aa0

It basically allow you to configure surefire to scan specific Dependencies for 
TestClasses via the 'dependenciesToScan' options. 

comments?
                
> There should be a way to run unit tests from a dependency jar.
> --------------------------------------------------------------
>
>                 Key: SUREFIRE-569
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-569
>             Project: Maven Surefire
>          Issue Type: New Feature
>          Components: Maven Surefire Plugin
>            Reporter: Paul Gier
>
> In some cases it would be useful to have a set of tests that run with various 
> dependency configurations.  One way to accomplish this would be to have a 
> single project that contains the unit tests and generates a test jar.  
> Several test configuration projects could then consume the unit tests and run 
> them with different dependency sets.  The problem is that there is no easy 
> way to run tests in a dependency jar.  The surefire plugin should have a 
> configuration to allow me to run all or a set of unit tests contained in a 
> dependency jar.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to