[ 
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:15 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:

{noformat}
*:surefire-junit*,*:surefire-testng
{noformat}

or

{noformat}
*:*junit5*
{noformat}



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:

{noformat}
*:*surefire-junit*,*:surefire-testng
{noformat}

or

{noformat}
*:*junit5*
{noformat}


> 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)

Reply via email to