-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Background
While we have unit tests in place, we don’t yet track what percentage of code and examples are exercised. Code-coverage and doc-tests will help ensure long-term maintainability and correctness of our documentation.
Goals
- Measure and report Rust code coverage on each CI run.
- Run all examples in documentation as
cargo test --doc.
Tasks
- Integrate a coverage tool (e.g.
grcovor Codecov +llvm-cov) into GitHub Actions. - Configure CI to upload and display coverage badges.
- Ensure
cargo test --docpasses, correcting any broken code snippets. - Write tests to verify coverage thresholds (e.g.,
> 90%). - Update
README.mdwith a coverage badge and instructions on running doc-tests locally.
Metadata
Metadata
Assignees
Labels
No labels