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

JUnit categories only work when junit47 provider is explicitly set

    Details

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

      Description

      If no explicit JUnit 4.7 provider is stipulated, all tests will be run. Regardless of their @Category annotations. This is contrary to what's stipulated in the documentation; that the provider will automatically be chosen.

      (why not just use the JUnit dependency of the project btw ? If it's not supporting categories, you can't use the @Category annotation either).

        Attachments

          Activity

            People

            • Assignee:
              krosenvold Kristian Rosenvold
              Reporter:
              jan_goyvaerts Jan Goyvaerts
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: