maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Klevis Ramo (Jira)" <>
Subject [jira] [Created] (SUREFIRE-1744) Enable system-out for successfuly passed tests as well
Date Thu, 09 Jan 2020 14:07:00 GMT
Klevis Ramo created SUREFIRE-1744:

             Summary: Enable system-out for successfuly passed tests as well
                 Key: SUREFIRE-1744
             Project: Maven Surefire
          Issue Type: New Feature
          Components: Maven Surefire Plugin
            Reporter: Klevis Ramo


Currently logs during tests execution are exported to *.xml report only for failed tests.

The xsd schema also implies the same(surefire-test-report-3.0.xsd,legacy-surefire-test-report.xsd)
, *system-out* elment is always a child of failure,rerunFailure,flakyFailure,rerunError or
flakyError element.


Because logs are not exported for successfully tests there is no way(outside IDE or complete
log) one could nicely explore what a particular test is doing. This is hurting also the documentation
part of a test.Imagine those tests are used as end to end tests and business analysts would
like to review through CI tools like jenkins.


*Possible Solution*

Enable maven sure fire plugin to export logs to system-out also for succefully passed tests
through an optional parameter leaving the default behaviour as it is right now(only failed
tests have outputs exported). This means of course also enchancing the xsd to support system-out
to different parent rather then only failed ones.


Since it happens I am also a developer I can of course helo with the feature implementation
if you find this something that makes sense.



This message was sent by Atlassian Jira

View raw message