2023-04-12 18:31:21 +02:00
2023-03-29 05:49:59 +09:00
2023-04-10 22:19:29 +02:00
2023-04-11 09:04:00 +02:00
2023-04-12 19:45:16 +02:00

Music Hoard

Code Coverage

Pre-requisites

rustup component add llvm-tools-preview
cargo install grcov

Generating

cargo clean
env RUSTFLAGS="-C instrument-coverage" \
    LLVM_PROFILE_FILE="target/debug/profraw/musichoard-%p-%m.profraw" \
    cargo test
grcov target/debug/profraw \
      --binary-path ./target/debug/ \
      --output-types html \
      --source-dir . \
      --ignore-not-existing \
      --ignore "tests/*" \
      --ignore "src/main.rs" \
      --excl-start "#\[cfg\(test\)\]" \
      --output-path ./target/debug/coverage/
xdg-open target/debug/coverage/index.html

Note that some changes may not be visible until target/debug/coverage is removed and the grcov command is rerun.

Description
No description provided
Readme 6.7 MiB
Languages
Rust 99.8%
Python 0.1%