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

Tests using MockitoJUnitRunner are always run regardless of membership in specified group

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.16
    • 2.18.1
    • None
    • None
    • Windows
      Maven 2.2.1
      jdk1.6.0_43
      junit 4.11
      mockito 1.8.1

    Description

      Not sure where this bug lies (junit, mockito, or failsafe) but I am trying to setup failsafe to run only tests annotated with @Category(IntegrationTest.class). It is running all of those tests PLUS any tests that use MockitoJUnitRunner regardless of whether they fall in that Category or not. Attached is a small sample project that illustrates the problem.

      Attachments

        1. sharpie.zip
          5 kB
          Norm Deane

        Activity

          People

            tibordigana Tibor Digana
            deanen Norm Deane
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: