This repository is used as a testing ground for trying out various combinations of test coverage programs and coverage-viewing websites for use with Rust code. The repository contains a simple library with tests, and each non-default branch has a GitHub Actions workflow that prepares a coverage report using some tool and submits a report to either Codecov or Coveralls. If things go perfectly, the online coverage view should show 100% coverage. For some reason, things do not go well for most coverage tools.
Branch | Workflow | Coverage Tool | Coverage View (Reported Coverage) |
---|---|---|---|
grcov-codecov | [link] | grcov | Codecov (2.21%) |
grcov-coveralls | [link] | grcov | Coveralls (0%) |
tarpaulin-codecov | [link] | tarpaulin | Codecov (27.27%) |
tarpaulin-coveralls | [link] | tarpaulin | Coveralls (83.33% — everything except doctest coverage) |
llvm-cov-codecov | [link] | cargo-llvm-cov | Codecov (81.25% — everything except doctest coverage) |