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

Ability to run an inner class or a method within

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0-M5
    • None
    • Junit 4.x support
    • None

    Description

      invocations like

      ```

      mvn surefire:test -Dtest=XFPNumberTest$AxField$AddGroup

      ```

      do not restrict to inner classes as expected.

      The same with methods within.

       

      In fact, this prevents single methods from being invoked individually,

      if test classes are nested like in 

       

      ```

      mvn surefire:test -Dtest=XFPNumberTest$AxField$AddGroup.testXXX

      ```

      Attachments

        Activity

          People

            Unassigned Unassigned
            ErnstReissner Ernst Reissner
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: