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

Alexander Kriegisch commented on SUREFIRE-1788:
-----------------------------------------------

Hm, the console output reporter feature is yet undocumented on the goal page 
and the example you linked to is not very enlightening. For my case (JUnit 4) I 
could just deactivate Surefire/Failsafe console output reporting, which is not 
what I want but if I interactively want to deactivate the reporting and only 
see the console output of the test itself, I can do
{code}
<consoleOutputReporter 
implementation="org.apache.maven.plugin.surefire.extensions.SurefireConsoleOutputReporter">
  <disable>true</disable>
  <encoding>UTF-8</encoding>
</consoleOutputReporter>
{code}
But actually during development when checking console output and not some CI/CD 
server GUI for test reports, this is rather information hiding than actually 
helpful. Thanks for the hint anyway. It does not solve the problem with mixed 
console output, but good to know that I can deactivate it like that.

> Unhandled native logs in SurefireForkChannel
> --------------------------------------------
>
>                 Key: SUREFIRE-1788
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1788
>             Project: Maven Surefire
>          Issue Type: Task
>          Components: Maven Failsafe Plugin, Maven Surefire Plugin, process 
> forking
>            Reporter: Tibor Digana
>            Assignee: Tibor Digana
>            Priority: Major
>             Fix For: 3.0.0-M5
>
>
> This is related only to the internal change of the version 3.0.0-M5 itself.
> The 
> [stdOut|https://github.com/apache/maven-surefire/blob/master/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/extensions/SurefireForkChannel.java#L153]
>  should be printed to INFO on the console.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to