go-junit-report
go-junit-report is a testing framework for Go.
Enabling XML Output
go-junit-report converts the output of go test
to JUnit compatible XML. First install it with
then run it from inside your go project like this:
Test Suite Naming
go-junit-report produces JUnit XML with the name and classname fields set by the function name and classnames being tested. For example, this function in the module example/hello
will produce XML output that looks like:
Last updated