[ https://issues.apache.org/jira/browse/SUREFIRE-2254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17874945#comment-17874945 ]
Stamatis Zampetakis commented on SUREFIRE-2254: ----------------------------------------------- Tests can be skipped in various ways and times. STDOUT/STDERR may come from {{{}@Before{}}}, {{{}@After{}}}, and other similar methods, or from the test itself if it is skipped somewhere in the middle of its execution (e.g., using the JUnit {{Assume}} API). I created a [small GitHub project|https://github.com/zabetak/SUREFIRE-2254] with some indicative cases. > 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)