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

when parsing excludedGroups config prop, trim leading and trailing whitespace off of group names

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3
    • 2.4
    • TestNG support
    • None

    Description

      If I specify:

      <excludedGroups>agent-comm, comm-client, native-system</excludedGroups>

      it gets parsed into:

      "agent-comm", " comm-client", " native-system"

      It would be nice if, after tokenizing on commas, leading and trailing whitespace were stripped off of the group names. That is, so results for the above example would be:

      "agent-comm", "comm-client", "native-system"

      I know that TestNG group names technically could truly contain leading or trailing whitespace, but realistically I don't think anyone would ever do such a thing.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ips Ian P. Springer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: