[ https://issues.apache.org/jira/browse/SUREFIRE-1934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17799410#comment-17799410 ]
ASF GitHub Bot commented on SUREFIRE-1934: ------------------------------------------ michael-o commented on code in PR #670: URL: https://github.com/apache/maven-surefire/pull/670#discussion_r1434008789 ########## maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java: ########## @@ -679,6 +679,16 @@ public abstract class AbstractSurefireMojo extends AbstractMojo implements Suref @Parameter(property = "enableAssertions", defaultValue = "true") private boolean enableAssertions; + /** + * Flag for including/excluding system-out and system-err elements in xml reports. + * <br> + * True by default. + * + * @since 3.0.0 + */ + @Parameter(property = "enableOutputElements", defaultValue = "true") + private boolean enableOutputElements; Review Comment: Please rename to `enableOutErrElements` this will better reflect the intent w/o even reading the docs. > Ability to disable system-out/system-err for successfuly passed tests > --------------------------------------------------------------------- > > Key: SUREFIRE-1934 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1934 > Project: Maven Surefire > Issue Type: Improvement > Components: Maven Surefire Plugin > Affects Versions: 3.0.0-M5 > Reporter: Andrey Turbanov > Priority: Major > > After SUREFIRE-1744 surefire-plugin always reports system-out/system-err even > for successfully passed test. A lot of old projects with big amount of tests > now have to deal with huge output. > I think there should be option to disable new behavior. -- This message was sent by Atlassian Jira (v8.20.10#820010)