Display rollup stats for workspace on cargo test? #11945
Labels
A-workspaces
Area: workspaces
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Command-test
S-blocked-external
Status: ❌ blocked on something out of the direct control of the Cargo project, e.g., upstream fix
Uh oh!
There was an error while loading. Please reload this page.
Problem
Is there any way to get
cargo test
to output the total number of tests run, ignored, failed, etc (let alone coverage stats) for an entire workspace after running tests for each member oncargo test --
in a workspace? I have a fairly large workspace project with a dozen modules and it would be helpful to see these numbers aggregatedProposed Solution
with the
--rollup
flag passed,cargo test
would output workspace stats at the end of the test run> Rollup: 243 tests run: 241 succeeded — 2 failed — 7 ignored
In the future this flag could also generate coverage reports, but at present I think this would be a simple ergonomic improvement for workspaces
Notes
No response
The text was updated successfully, but these errors were encountered: