Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-569

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.15
    • Maven Surefire Plugin
    • 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.

      Attachments

        Activity

          People

            krosenvold Kristian Rosenvold
            pgier Paul Gier
            Votes:
            19 Vote for this issue
            Watchers:
            18 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: