Open bstpierre opened 1 year ago
I am in the same boat. I am also using Gitlab. Not sure if there is really an issue with additional step of conversion to cobertura format though?
My main issue is that Gitlab supports only one number for coverage, but currently gotestsum returns one number per tested module (see #340).
I think I am realizing that the coverage for the main package (the .
by this tool) is the total coverage? Also it might be useful to run coverage with -coverpkg ./...
if you have many integration tests across sub-packages.
@dnephin commented in @302 in a discussion about coverage output:
I use coverage reporting in CI, and GitLab's coverage visualization requires cobertura format. I'm currently using gocover-cobertura to generate this report. It would be handy to be able to generate both the junit and cobertura reports from gotestsum all at once -- possibly alongside the html output that was mentioned in the comment that dnephin was replying to.