Alan Field created ISPN-7116:
--------------------------------
Summary: 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:
```
<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"/>
```
The `name` property should include the parameter to differentiate the results.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)