Run unit tests with:
cargo test --lib --workspace
For quieter output:
cargo t --lib --workspace --quiet
# OR
cargo t --lib --workspace -q
For even quieter output:
cargo t --lib --workspace -q 2>/dev/null
This last command sends the cargo build
warnings to the null
device, so that
they don’t pollute the test output.