gotestfmt
gotestfmt copied to clipboard
Add jUnit XML support
trafficstars
Add support for a jUnit-style XML. This will also be helpful when working with CI systems that can understand this XML. This can possibly be implemented using a CI template. A description of the format can be found here.
https://github.com/jstemmer/go-junit-report can help to get the job done
$ go test -json ./... | tee out.txt | gotestfmt
(...)
$ go-junit-report -in out.txt -out report.xml -parser gojson
Thanks @burgesQ, it'd still be nice to have it in one tool.
Closing this issue because I no longer have time to work on this and no community PR has happened to this end either.