When running the command with cargo llvm-cov run, the standard output of the command is redirected to the standard error output, so the integration test that checks the standard output of the command will not work.
Thanks for the report! This is because reports are output to stdout by default, but we should stop redirecting when one of --no-report, --output-path, --output-dir is passed.
When running the command with
cargo llvm-cov run
, the standard output of the command is redirected to the standard error output, so the integration test that checks the standard output of the command will not work.https://github.com/taiki-e/cargo-llvm-cov/blob/f7870c5df548613f62de4aa472db552a669ed09b/src/main.rs#L405-L418
Is it possible to stop redirecting the standard output when the
-q
option is given?