Test coverage with Tarpaulin

tests

cargo-tarpaulin is a code coverage reporting tool for the Cargo build system, named for a waterproof cloth used to cover cargo on a ship.

Install Tarpaulin

cargo install cargo-tarpaulin

Run Tarpaulin generate HTML report

cargo tarpaulin --out Html

Run Tarpaulin - print minimalistic text report on the screen

cargo tarpaulin --out Stdout

Author

Gabor Szabo (szabgab)

Gabor Szabo, the author of the Rust Maven web site maintains several Open source projects in Rust and while he still feels he has tons of new things to learn about Rust he already offers training courses in Rust and still teaches Python, Perl, git, GitHub, GitLab, CI, and testing.

Gabor Szabo