I wonder if there's any tool that can convert go test -coverprofile=cover.out
into the formats that Jenkins can accept? I found some tools like go-junit-report and go2xunit, but they actually just convert output from go test -v
, which is not the coverage report.
I want to know the detailed test coverage in Jenkins directly. Basically, I want to see the output from go tool cover -func=cover.out
and go tool cover -html=cover.out
in Jenkins webpage.