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

JUnit4Provider#createTestsDescription doesn't respect runner anymore

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.19.1
    • Fix Version/s: None
    • Component/s: Junit 4.x support
    • Labels:
      None

      Description

      In 2.19.1 the JUnit4Prrovider doesn't respect the annotated runner when creating the description of a suite as org.apache.maven.surefire.common.junit4.JUnit4Refelector#createDescription is called which just calls Descritpion#createSuiteDescription.

      In 2.18.1 JUnit4ProviderUtil.createSuiteDescription( classes ) is called which creates a Request and asks the runner for the description.

      This is a regression in my opinion.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tibordigana Tibor Digana
                Reporter:
                OliverL Oliver Libutzki
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: