[
https://jira.codehaus.org/browse/SUREFIRE-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=356190#comment-356190
]
Tibor Digana commented on SUREFIRE-1036:
----------------------------------------
After removing @RunWith(MockitoJUnitRunner.class) and making cleanup in setUp()
and @Test method, the failsafe-plugin runs only com.deane.TestSomeIntegration.
I will debug the Filter...
> 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
> Assignee: Tibor Digana
> 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 was sent by Atlassian JIRA
(v6.1.6#6162)