{"repo":"taiki-e/cargo-llvm-cov","free":true,"listed":false,"github":"https://github.com/taiki-e/cargo-llvm-cov","clone":"git clone https://github.com/taiki-e/cargo-llvm-cov.git","description":"Cargo subcommand to easily use LLVM source-based code coverage (-C instrument-coverage).","language":"Rust","stars":1449,"topics":["rust","cargo","cli","coverage"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"cargo-llvm-cov Cargo subcommand to easily use LLVM source-based code coverage. This is a wrapper around rustc [ -C instrument-coverage ][instrument-coverage] and provides: - Generate very precise coverage data. (line, region, and branch coverage. branch coverage is currently optional and requires nightly, see [#8] for more) - Support cargo test , cargo run , and [ cargo nextest ][nextest] with command-line interface compatible with cargo. - Support for proc-macro, including coverage of UI tests (trybuild, ui test). - Support for doc tests. (this is currently optional and requires nightly, see [#2] for more) - Fast because it only instrument necessary crates and does not introduce extra layers between rustc, cargo, and llvm-tools. Table of Contents: - Usage - Basic usage - Merge coverages generated under different test conditions - Get coverage of C/C++ code linked to Rust library/binary - Get coverage of external tests - Get coverage of AFL fuzzers - Exclude file from coverage - Exclude code from coverage - Platform Support - Windows - WASM - Continuous Integration - GitHub Actions and Codecov - GitLab CI - Display coverage in VS Code - Environment variables - Additional JSON information - Installation - Known limitations - Related Projects - License Usage Basic usage Complete list of options (click to show) (See docs directory for options of subcommands) By default, run tests (via cargo test ), and print the coverage summary to stdout. Currently, doc tests are disabled by de","default_branch":null,"files":null,"tree":[],"storefront":"/r/taiki-e","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/taiki-e/cargo-llvm-cov/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}