-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coverage is not being applied #23
Comments
Hey @reesmanp thank you very much. Are you able to provide a full test output? We could integrate it as a full test case. |
@janosdebugs thanks for finding it and making a fix. Seems to be working at the module level now. |
I'd recommend removing the package level config outputs since those still don't show. |
Go doesn't report coverage for individual tests, those will be removed. I'll merge the patch and make a new release. |
The fix has now been merged and will be in the next release. |
Using the Github
package.gotpl
file, and running tests viago test -cover -json -v ./... 2&>1 | gotestfmt -hide empty-packages
, coverage is not output. If I change the.gotpl
file to this for debugging:then I see
<nil>
for the value of coverage. It looks like coverage is not being parsed correctly. I am seeing the event for the coverage as{"Time":"2021-12-29T12:10:04.616381-08:00","Action":"output","Package":"mypackage","Output":"coverage: 40.7% of statements\n"}
The text was updated successfully, but these errors were encountered: