-
Command:
```
cargo cov -- show fuzz/target//release/my_compiler \
--format=html \
-instr-profile=fuzz/coverage/my_compiler/coverage.profdata \
> index.html
```
Error response:
``…
-
I want to publish the artifact to gitHub for each pr or commit so that it can be downloaded for testing, and publish the tag to github release. Is there any solution to achieve this? It is necessary t…
-
Hey, I've run into a problem with `-C instrument-coverage`, const generics and assertions.
I tried this code:
```rust
const fn check_even() {
assert!(N % 2 == 0, "will fail once");
}
#[test]
fn …
-
I recently added coverage testing for [duchess](https://github.com/duchess-rs/duchess) which has a somewhat complicated setup of regular unit tests & and subproject containing ui tests.
This meant…
rcoh updated
5 months ago
-
I'm not quite sure what exactly is happening here, but here is the general flow I'm following:
```
## Build Machine Job 1 ##
source
-
Hi,
cargo-llvm-cov reports that the following Rust code had 5 region coverage. Why? I count only 4: (1+2) both functions, (3) the if condition, (4) the "then branch". I also looked at the generate…
-
The text and the html report for my project https://github.com/jendrikw/clearurls show that one line in rules.rs is missing coverage, but I can't find it. I tried `--show-missing-lines`, but that did …
-
One scenario I have is a program written in rust that exposes the http interface and does not generate Python-related dependency packages via pyo3.
Invoke http interface directly by executing request…
-
Something like:
```
cargo llvm-cov --format html,json --output-dir coverage
```
---
https://github.com/taiki-e/cargo-llvm-cov/issues/60#issuecomment-920409297
> In fact, there is already…
-
UPDATE: 0.6.8 (https://github.com/taiki-e/cargo-llvm-cov/pull/356) added unstable `--branch` flag to enable branch coverage. (requires nightly-2024-03-16+.)
LLVM supports branch coverage (https://r…