a7ex / xcresultparser

Parse the binary xcresult bundle from Xcode builds and testruns
MIT License
83 stars 24 forks source link

Make TestReportFormat, specifically the `junit` format selectable #8

Closed haeser closed 1 year ago

haeser commented 1 year ago

Context

Circleci and probably other tools as well need the Junit xml format in order to properly parse test runs. Support for both the sonar generic test execution format and the Junit XML format were already implemented 👏🏼

This PR simply adds the option to select the junit test report formatter from the cli tool. Default is still the sonar generic test execution format, the change is non breaking.

Summary of changes

a7ex commented 1 year ago

Hi Florian, thanks for your contribution. It totally slipped my attention, that, what you were after was implemented, but inaccessible due to the missing command line argument, which you now added. Great! Also the improvement to the very sparse (as usual ;-) unit tests is very welcome.