Example of source-based code coverage with grcov
https://tasshi-playground.github.io/rust-source-based-code-coverage/
$ ./scripts/setup.sh # setup
$ ./scripts/coverage.sh # generate and print coverage
# coverage html files are saved in ./docs/
- source_based_code_coverage - The Rust Unstable Book
- mozilla/grcov: Rust tool to collect and aggregate code coverage data for multiple source files
This project is licensed under the MIT license.