gotestyourself / gotestsum

'go test' runner with output optimized for humans, JUnit XML for CI integration, and a summary of the test results.
Apache License 2.0
2.03k stars 119 forks source link

Output total coverage over all tested packages #340

Closed mitar closed 7 months ago

mitar commented 1 year ago

I test multiple packages in my app (code is organized into multiple internal packages) and I can get for each of them gotestsum to print coverage. But ideally I would like to get also total coverage of the whole app. There seems to be no way to do that?

dnephin commented 1 year ago

Thank you for your interest in gotestsum! This sounds like it might be a similar request to #335.

Today gotestsum doesn't do anything with the coverage data. I think a tool to consume that data would be a nice addition, but I don't use coverage much personally, so it's unlikely to be something that I build.

dnephin commented 7 months ago

going to close this as a duplicate of #335