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

Incompatibility with future release 4.12 of junit (Categories)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Not A Problem
    • Affects Version/s: 2.12.2, 2.12.4
    • Fix Version/s: None
    • Component/s: Junit 4.x support
    • Labels:
      None

      Description

      Junit is introducing some interesting new features on Categories in 4.12. @Category will become @Inherited and @ExcludeCategory/@IncludeCategory will accept a class-array instead of just a single class. As we need these urgently we are currently testing with the current snapshot of junit (https://oss.sonatype.org/content/repositories/snapshots/junit/junit/4.12-SNAPSHOT/). Unfortuneately the version seems to be incompatible.
      All tests are executed always. Regardless of the settings in <groups> or <excludedgroups>. Using 4.11 works fine. I do not know why this happens and therefore cannot provide a patch but I would love to see it fixed. If someone points me at the cause I will happily find a solution.

        Attachments

        1. surefire-952.zip
          23 kB
          Henning Gross

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gaffa Henning Gross
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: