I have tests (Unit and Integration) in Go and I need to generate a report in XML (Preferably Junit). Also each test tests a certain functionality. Hence I would like them to be grouped/tagged in report.
The only thing I could find in internet was Go Junit Report. This tool converts test run output to junit XML. I need a way to tag features in Go test and be included in the report.
How can I add tags in Go and get it in output?