jstemmer / go-junit-report

Convert Go test output to JUnit XML
MIT License
776 stars 224 forks source link

Add system-out tag for testcases that pass. #55

Closed mihirgogate closed 7 years ago

mihirgogate commented 7 years ago

I require the stdout contents of each test case for an atom plugin that I am building. http://windyroad.com.au/dl/Open%20Source/JUnit.xsd contains a 'system-out' tag with the description 'Data that was written to standard out while the test was executed'.

This PR adds the system out tag for all tests that have PASSed only, as you can get the stdout contents for FAILed tests from the 'failure' tag.