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

Thomas Strecker commented on SUREFIRE-569:
------------------------------------------

Yes, this is a work around. However, it means not just adding a test-dependency 
but also fiddling with the build, which is rather dangerous.

In the one case I can tell my teammates: Hey, I got this cool set if tests you 
can run your implementation against, just add this dependency with scope 
"test". In the other I'd have to introduce them to the mysteries of plugin 
configurations and build process customization. The main beauty of maven is 
that it just works for most cases without having to tell anyone how to get it 
to work. :)

> There should be a way to run unit tests from a dependency jar.
> --------------------------------------------------------------
>
>                 Key: SUREFIRE-569
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-569
>             Project: Maven Surefire
>          Issue Type: New Feature
>          Components: 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 contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to