termtrick.com
Run
API
Facebook
Twitter
LinkedIn
Copy link
Run tests for a package
cargo test
Execute the unit and integration tests of a Rust package.
More information: <https://doc.rust-lang.org/cargo/commands/cargo-test.html>.
Trick copyright:
tl;dr; <
https://github.com/tldr-pages/tldr
>
cargo test --package {{package}}
click the source code to copy
install
cargo test
on any operating system with
command-not-found.com