cargo test

Execute the unit and integration tests of a Rust package. More information: https://doc.rust-lang.org/cargo/commands/cargo-test.html.

cargo {{[t|test]}} {{test_name}}

cargo {{[t|test]}} -- --test-threads {{count}}

cargo {{[t|test]}} {{[-r|--release]}}

cargo {{[t|test]}} --workspace

cargo {{[t|test]}} {{[-p|--package]}} {{package}}

cargo {{[t|test]}} -- --nocapture