tarpaulin icon indicating copy to clipboard operation
tarpaulin copied to clipboard

Option to disable output? How to get coverage + test results from one run

Open t-moe opened this issue 7 months ago • 0 comments

Currently I have two jobs in my CI:

# Generate cobertura.xml with coverage data
cargo tarpaulin  --tests  --out xml --profile bench

# Generate junit test report 
cargo test  --tests --no-fail-fast -- -Z unstable-options --format=json --report-time > report.json
cat report.json | cargo2junit > report.xml

I would like to combine the two test invocations into one, but the problem is, that cargo tarpaulin mixes up my json output with the summary. Can I somehow disable the output of the summary to stdout? (or can I output it to stderr instead?)

t-moe avatar Dec 22 '23 16:12 t-moe