You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2018/01/06 22:13:00 UTC

[jira] [Comment Edited] (SUREFIRE-1458) When multiple surefire providers are available through the maven plugin dependency test are executed N times

    [ https://issues.apache.org/jira/browse/SUREFIRE-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16314953#comment-16314953 ] 

Tibor Digana edited comment on SUREFIRE-1458 at 1/6/18 10:12 PM:
-----------------------------------------------------------------

[~romain.manni-bucau]
Dependencies are merged by Maven and not by Surefire.
The only trick I am facing is to add a new config parameter {{providers}} as a filter of dependencies:
{{*:*surefire-junit**,*:surefire-testng}}
or
{{*:*junit5*}}


was (Author: tibor17):
[~romain.manni-bucau]
Dependencies are merged by Maven and not by Surefire.
The only trick I am facing is to add a new config parameter {{providers}} as a filter of dependencies:
{{*:*surefire-junit*,*:surefire-testng}}
or
{{*:*junit5*}}

> When multiple surefire providers are available through the maven plugin dependency test are executed N times
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1458
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1458
>             Project: Maven Surefire
>          Issue Type: New Feature
>            Reporter: Romain Manni-Bucau
>
> In a parent surefire-junit47 is enforced and if I add in a child another provider (junit5) then tests are executed twice



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)