Uploaded image for project: 'Atlassian Maven Plugin Suite'
  1. Atlassian Maven Plugin Suite
  2. AMPS-930

Allow excludedGroup to be passed in to surefire when running unit-test

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 4.1.2
    • Fix Version/s: None
    • Component/s: Maven AMPS plugin
    • Labels:
      None

      Description

      It is useful to be able to group/exclude unit tests (via profiles, for example). In amps, func tests can be grouped, but not unit tests, because the UnitTestMojo hardcodes the excludes.

      Make the UnitTestMojo.runUnitTests() take in an excludedGroups parameter, and add that to the configuration passed to surefire.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jxie Joe Xie
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Who's Looking?