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

Generate Coverage Report in CI #6

Open
pascalkuthe opened this issue Aug 6, 2023 · 1 comment
Open

Generate Coverage Report in CI #6

pascalkuthe opened this issue Aug 6, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@pascalkuthe
Copy link
Member

I am striving for a high test coverage in nucleo. The matcher crate and the pattern parsing should already hit 80% test coverage. I would like to track coverage automatically in CI (for example with coveralls). This helps with triaging (identify uncovered branches) and makes it easier to track where tests are still needed.

I would imagine that we genrate test data with cargo tarpulin in CI and upload the report to coveralls or a similar service (I would need to setup the account once there is a PR). LLVM based instrumentation should be used.

@pascalkuthe pascalkuthe added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Aug 6, 2023
@amaanq
Copy link

amaanq commented Sep 2, 2023

I can recommend cargo-llvm-cov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants