-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
A-cliArea: Command-line interface, option parsing, etc.Area: Command-line interface, option parsing, etc.A-console-outputArea: Terminal output, colors, progress bar, etc.Area: Terminal output, colors, progress bar, etc.Command-testS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Description
EDIT: see durka's comment below
It seems that there is no way to disable the colored output of cargo test
. This is a nice thing to have when displaying output on e.g. CI sites that do not support ASCII escape codes.
Combinations I tried blindly that didn't work include:
cargo test --no-color
cargo test -- --no-color
cargo test --color
cargo test -- --color
cargo test --color never
Also checked output of cargo -h
and cargo test -h
but saw nothing.
golmman, iago-lito, mattrobineau, cscherrNT, jdahlstrom and 3 more
Metadata
Metadata
Assignees
Labels
A-cliArea: Command-line interface, option parsing, etc.Area: Command-line interface, option parsing, etc.A-console-outputArea: Terminal output, colors, progress bar, etc.Area: Terminal output, colors, progress bar, etc.Command-testS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Type
Projects
Status
No status