You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Norm Deane (JIRA)" <ji...@codehaus.org> on 2013/09/19 17:11:52 UTC

[jira] (SUREFIRE-1036) Tests using MockitoJUnitRunner are always run regardless of membership in specified group

Norm Deane created SUREFIRE-1036:
------------------------------------

             Summary: Tests using MockitoJUnitRunner are always run regardless of membership in specified group
                 Key: SUREFIRE-1036
                 URL: https://jira.codehaus.org/browse/SUREFIRE-1036
             Project: Maven Surefire
          Issue Type: Bug
    Affects Versions: 2.16
         Environment: Windows
Maven 2.2.1
jdk1.6.0_43
junit 4.11
mockito 1.8.1
            Reporter: Norm Deane
         Attachments: sharpie.zip

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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira