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

JUnit4Provider#createTestsDescription doesn't respect runner anymore

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.19.1
    • None
    • Junit 4.x support
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment