Atlassian SDK
  1. Atlassian SDK
  2. AMPS-930

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

    Details

    • Type: Improvement Improvement
    • Status: Under Review
    • Priority: Minor Minor
    • Resolution: Unresolved
    • 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.

        Issue Links

          Activity

          Show
          Joe Xie added a comment - pull request at https://bitbucket.org/atlassian/amps/pull-request/26/amps-930-add-excludedgroups-to-the/diff

            People

            • Assignee:
              Joe Xie
              Reporter:
              Joe Xie
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Who's Looking?