Skip to content
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

Tests coverage is gathered for _test_util.go files #97

Open
dimitar-dimitrow opened this issue Jan 23, 2024 · 0 comments
Open

Tests coverage is gathered for _test_util.go files #97

dimitar-dimitrow opened this issue Jan 23, 2024 · 0 comments
Labels
task Single unit of work
Milestone

Comments

@dimitar-dimitrow
Copy link
Contributor

When executing the unit tests go test ./... -coverprofile=coverage.out -covermode count -tags=unit there are entries for _test_util.go files in coverage.out - cat coverage.out | grep _test_util.go. Those files are not expected to be covered as they are for testing purposes and they should not included them in the coverage report.

@dimitar-dimitrow dimitar-dimitrow added the task Single unit of work label Jan 23, 2024
@dimitar-dimitrow dimitar-dimitrow added this to the M5 milestone Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task Single unit of work
Projects
Status: No status
Development

No branches or pull requests

1 participant