You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2024/07/31 11:34:00 UTC

[jira] [Commented] (SUREFIRE-2254) Ability to disable system-out/err for skipped tests in XML report

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

Stamatis Zampetakis commented on SUREFIRE-2254:
-----------------------------------------------

In Apache Hive, we have some custom [XML post-processing logic|https://github.com/apache/hive/blob/3af6fcadf7bc58e8f601c091ee6f1bfd50848231/Jenkinsfile#L380] in CI to remove system-out and system-err from all tests that don't have failures (successful, skipped). This improvement would help us get rid of this custom logic (HIVE-28401) and rely only on the configuration of the plugin.

> Ability to disable system-out/err for skipped tests in XML report
> -----------------------------------------------------------------
>
>                 Key: SUREFIRE-2254
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-2254
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Maven Surefire Plugin, xml generation
>    Affects Versions: 3.3.1
>            Reporter: Stamatis Zampetakis
>            Priority: Major
>
> The plugin always includes system-out and system-err in the XML report when a test is skipped. Developers treat a skipped test more or less the same with a successful test thus storing system-out and system-err is rarely useful.
> Similar to SUREFIRE-1934, it would be convenient to have a property to disable system-out and system-err for skipped tests.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)