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

Measure unit test coverage #219

Open
nfx opened this issue Jul 5, 2024 · 0 comments
Open

Measure unit test coverage #219

nfx opened this issue Jul 5, 2024 · 0 comments

Comments

@nfx
Copy link
Collaborator

nfx commented Jul 5, 2024

Pytest drops coverage as a SQLite database. Query: select * from arc left join file on arc.file_id = file.id left join context on arc.context_id = context.id;

in go, we can either subprocess https://go.dev/doc/build-cover or parsed https://github.com/golang/go/blob/0104a31b8fbcbe52728a08867b26415d282c35d2/src/cmd/cover/html.go#L85-L100

go cover profile can also be used to build a treemap: https://github.com/golang/go/blob/0104a31b8fbcbe52728a08867b26415d282c35d2/src/cmd/cover/html.go#L85-L100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant