Open lcmgh opened 1 week ago
The coverage functions section is the first one I try, so likely the spawned binaries haven't been built with the instrumentation enabled. If you add --print-rust-flags
to your CLI prompt and then set that as your RUSTFLAGS
env var before the spawned command is built you might get the coverage information as expected
In my integration tests I am spawning my app via
Command
triggeredcargo run
.When executing
cargo tarpaulin --follow-exec
I am getting some errorsStill I am getting
15.31% coverage, 81/529 lines covered, +15.31% change in coverage
tarpaulin 0.31.2 latest macos