Print stdout/stderr from tests.
Section: Test debugging workflows
Show test output
bash
bash
cargo test -- --nocaptureExplanation
Great for CLI tools whose tests assert output or side effects.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Test debugging workflows