eykrehbein / strest

⚡️ CI-ready tests for REST APIs configured in YAML
MIT License
1.74k stars 59 forks source link

Output results in xUnit format #111

Open ncuster opened 5 years ago

ncuster commented 5 years ago

It would be nice to have another --output option, xUnit, that outputs in that standard format. Many pipeline tools support the format (e.g. Jenkins) and can natively parse it to show test results and regressions over time. Not sure if this would be in addition to or instead of existing console output, but just some way to run tests and have the output in a standard parseable format (xUnit seems like the lowest common denominator).

ncuster commented 5 years ago

https://xunit.github.io/docs/format-xml-v2

jgroom33 commented 5 years ago

Thanks. This is a useful suggestion. There may be other implementation options available also, but something that allows reporting of the validations would be beneficial.