tarpaulin
tarpaulin copied to clipboard
Option to disable output? How to get coverage + test results from one run
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?)