show
show copied to clipboard
Code coverage workshop
What?
Explain tools that measure code coverage and work with Rust
Why?
While code coverage is not a good measurement for the fail-safety of a system, it might indicate, which parts of a system might need more tests. Some coverage tools like kcov support Rust, but some tweaking is required to get them to work.
How?
https://github.com/kennytm/cargo-kcov https://github.com/xd009642/tarpaulin
Suggested by user Hitlife80 on Reddit