[
https://issues.jboss.org/browse/ISPN-7116?page=com.atlassian.jira.plugin....
]
Alan Field commented on ISPN-7116:
----------------------------------
Hey [~dan.berindei], thanks for the detailed pointer! I'll work on this and send a PR
when I can get both of the reporters to work!
Test methods that use a TestNg dataProvider are duplicated in JUnit
reports
---------------------------------------------------------------------------
Key: ISPN-7116
URL:
https://issues.jboss.org/browse/ISPN-7116
Project: Infinispan
Issue Type: Enhancement
Components: Test Suite - Core
Reporter: Alan Field
Assignee: Alan Field
TestNg test methods that use a {{dataProvider}} are reported as multiple duplicate test
cases in the surefire results reports:
{noformat}
<testcase name="testDistExecPutGet"
classname="org.infinispan.client.hotrod.ExecTest" time="0.424"/>
<testcase name="testDistExecPutGet"
classname="org.infinispan.client.hotrod.ExecTest" time="0.015"/>
<testcase name="testEmbeddedScriptRemoteExecution"
classname="org.infinispan.client.hotrod.ExecTest" time="0.132"/>
<testcase name="testEmbeddedScriptRemoteExecution"
classname="org.infinispan.client.hotrod.ExecTest" time="0.086"/>
<testcase name="testExecPutConstantGet"
classname="org.infinispan.client.hotrod.ExecTest" time="0.016"/>
<testcase name="testExecPutConstantGet"
classname="org.infinispan.client.hotrod.ExecTest" time="0.009"/>
<testcase name="testExecReturnNull"
classname="org.infinispan.client.hotrod.ExecTest" time="0.015"/>
<testcase name="testExecReturnNull"
classname="org.infinispan.client.hotrod.ExecTest" time="0.008"/>
<testcase name="testLocalExecPutGet"
classname="org.infinispan.client.hotrod.ExecTest" time="0.022"/>
<testcase name="testLocalExecPutGet"
classname="org.infinispan.client.hotrod.ExecTest" time="0.013"/>
<testcase name="testLocalExecPutGetWithListener"
classname="org.infinispan.client.hotrod.ExecTest" time="0.037"/>
<testcase name="testLocalExecPutGetWithListener"
classname="org.infinispan.client.hotrod.ExecTest" time="0.025"/>
<testcase name="testRemoteScriptRemoteExecution"
classname="org.infinispan.client.hotrod.ExecTest" time="0.074"/>
<testcase name="testRemoteScriptRemoteExecution"
classname="org.infinispan.client.hotrod.ExecTest" time="0.06"/>
<testcase name="testRemovingNonExistentScript"
classname="org.infinispan.client.hotrod.ExecTest" time="0.002"/>
{noformat}
The {{name}} property should include the parameters passed to the method to differentiate
the results.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)