[
https://issues.apache.org/jira/browse/SUREFIRE-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14988137#comment-14988137
]
Tibor Digana edited comment on SUREFIRE-1194 at 11/3/15 9:23 PM:
-----------------------------------------------------------------
[~juherr]
According to TestNG class the parameter "-reporter" (,) has type
java.lang.Strig which refers to fully qualified class name which extends
org.testng.reporters.XMLReporter class.
It looks like TestNG 5.10 specifies "-reporter" constant REPORTER in
TestNGCommandLineArgs.java but not used in TestNG.java.
The TestNG:5.14.4 has used parameter "-reporter" at first time.
was (Author: tibor17):
[~juherr]
According to TestNG class the parameter "-reporter" (,) has type
java.lang.Strig which refers to fully qualified class name which extends
org.testng.reporters.XMLReporter class.
It looks like TestNG 5.10 specifies "-reporter" constant REPORTER in
TestNGCommandLineArgs.java but not used in TestNG.java.
The TestNG:6.0 has used parameter "-reporter" at first time.
What was used for report configuration between Versions 5.14.4 (inc) and 6.0
(exc) ?
> reporter argument does not work for TestNG
> ------------------------------------------
>
> Key: SUREFIRE-1194
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1194
> Project: Maven Surefire
> Issue Type: Bug
> Components: TestNG support
> Affects Versions: 2.19
> Reporter: Testo Nakada
> Assignee: Tibor Digana
> Fix For: 2.19.1
>
>
> TestNG plugin seems to map -reporter command line parameter to reporterslist
> which was removed in TestNG project since 2010
> (a4779524b59330e98ee596c5faa43ae1b33ff844). Therefore, this configuration has
> stopped working since then. The configuration mentioned in
> http://maven.apache.org/surefire/maven-surefire-plugin/examples/testng.html#Using_Custom_Listeners_and_Reporters
> does not work as expected.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)