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 test {{testname}}

cargo test -- --test-threads {{count}}

cargo test --release

cargo test --workspace

cargo test --package {{package}}

cargo test -- --nocapture