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

ASF GitHub Bot commented on SUREFIRE-2219:
------------------------------------------

kriegaex opened a new pull request, #692:
URL: https://github.com/apache/maven-surefire/pull/692

   `TestSuiteXmlParser` no longer ignores the `system-out` and `system-err` 
tags from the Surefire report XML. It parses them and sets the corresponding 
properties in `ReportTestCase`.
   
   @michael-o, this is a bare PR for the back-end. It contains no tests and no 
changes to `SurefireReportRenderer::constructTestCaseSection`. I leave these up 
to you. But now you have the raw data to work from. Sorry, I do not have more 
time than this. Hope it helps a bit anyway.
   
   ---
   
    - [x] I hereby declare this contribution to be licenced under the [Apache 
License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)
   
    - [ ] In any other case, please file an [Apache Individual Contributor 
License Agreement](https://www.apache.org/licenses/icla.pdf).
   




> Option to include stdOut/stdErr console logs into test report
> -------------------------------------------------------------
>
>                 Key: SUREFIRE-2219
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-2219
>             Project: Maven Surefire
>          Issue Type: New Feature
>          Components: Maven Surefire Report Plugin
>    Affects Versions: 3.2.2
>            Reporter: Alexander Kriegisch
>            Priority: Major
>         Attachments: image-2023-12-02-11-16-11-109.png
>
>
> Surefire report XML includes tags capturing console logs, e.g. 
> {{testsuite/testcase/system-err}}:
>  !image-2023-12-02-11-16-11-109.png! 
> As a report reader, I want to see the stdOut/stdErr console logs per test 
> case in the HTML report, ideally in a monotype font to easily be able to read 
> stack traces.
> This requirement has been discussed online a lot, e.g. on Stack Overflow or 
> Reddit. I wonder why such a feature is missing. The HTML report basically 
> being an XML transformation from the surefire report, it should not be super 
> complicated to implement.



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

Reply via email to