maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Gudian (JIRA)" <>
Subject [jira] (SUREFIRE-569) There should be a way to run unit tests from a dependency jar.
Date Mon, 12 Aug 2013 17:59:53 GMT


Andreas Gudian commented on SUREFIRE-569:

@Torsten: that's supposed to be part of SUREFIRE-1004. Patches are always welcome, if you
want to make it more likely that it'll be part of Surefire 2.17 :)
> There should be a way to run unit tests from a dependency jar.
> --------------------------------------------------------------
>                 Key: SUREFIRE-569
>                 URL:
>             Project: Maven Surefire
>          Issue Type: New Feature
>          Components: Maven Surefire Plugin
>            Reporter: Paul Gier
>            Assignee: Kristian Rosenvold
>             Fix For: 2.15
>         Attachments: SUREFIRE-569.patch
> 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
For more information on JIRA, see:

View raw message