Rust and Cargo 1 · Testing and code quality

Show test output

Show what tests print. Output is hidden for passing tests by default.

cargo test -- --nocapture

Official Rust and Cargo 1 documentation

More testing and code quality commands

All testing and code quality commands · Rust and Cargo 1 cheatsheet

Was this page helpful?