Skip to content

Test coverage is not accurate #405

@gabriel-vasile

Description

@gabriel-vasile

The problem: Code coverage reported by codecov is not accurate
Why: The bulk of code, which is the magic package has very few unit tests. In root directory there is a test that goes through all files in testdata and checks that they are detected correctly, but this does not count towards reported code coverage because it's not an unit test.
Solution: ?... Is there any solution? Is it worth the trouble?
? https://go.dev/blog/integration-test-coverage

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions