Maven Surefire
  1. Maven Surefire
  2. SUREFIRE-569

There should be a way to run unit tests from a dependency jar.

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.15
    • Component/s: Maven Surefire Plugin
    • Labels:
      None

      Description

      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.

        Activity

        Paul Gier created issue -
        aslakknutsen made changes -
        Field Original Value New Value
        Attachment SUREFIRE-569.patch [ 62372 ]
        Kristian Rosenvold made changes -
        Fix Version/s 2.15 [ 19174 ]
        Kristian Rosenvold made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Kristian Rosenvold [ krosenvold ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:23:32 UTC 2015 [ 1428240212200 ]
        Mark Thomas made changes -
        Workflow jira [ 12727818 ] Default workflow, editable Closed status [ 12758982 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 01:36:33 UTC 2015 [ 1428284193036 ]
        Mark Thomas made changes -
        Workflow jira [ 12965824 ] Default workflow, editable Closed status [ 13003554 ]

          People

          • Assignee:
            Kristian Rosenvold
            Reporter:
            Paul Gier
          • Votes:
            19 Vote for this issue
            Watchers:
            18 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development