[workspace - test] cargo test
should output a summary after running all tests in a workspace
#8414
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
Describe the problem you are trying to solve
In a "standard" crate, if you run
cargo test
, and everything is good, you can look at the last line of the output. In a crate that uses workspace, the output is much more messy, since each sub-crate will report their status, and you can't see immediately if everything went fine.Describe the solution you'd like
In addition to the current output, if the current crate uses workspace, a global summary should be added at the end of the logs. Something like:
The text was updated successfully, but these errors were encountered: