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

Junit test output is broken with junit4-7+

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5
    • 2.5
    • Junit 4.x support
    • None
    • junit 4.7
    • Patch

    Description

      There is a bug in the log output for the junit4.7+ provider, where it just says "Result null" instead of outputting the
      proper surefire output. Additionally, the concurrent junit provider should really only be used
      when the user has requested some concurrent execution model in the configuration.

      Workaround at the moment is one of the following:
      A) Use surefire-2.4.3 until this is fixed
      B) Downgrade to junit 4.6 until this is fixed
      C) ignore the problem. This may be possible, but some CI systems also parse the output so it may break the build.

      The enclosed patch fixes both problems on svn trunk of surefire, and also includes updated integration tests.

      Attachments

        1. junit1.diff
          14 kB
          Kristian Rosenvold
        2. junit2.diff
          9 kB
          Kristian Rosenvold
        3. junit2.zip
          4 kB
          Kristian Rosenvold

        Activity

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

          People

            stephenconnolly stephenconnolly
            krosenvold Kristian Rosenvold
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment