CmdID

CmdID / Commands

cargo-test

Execute the unit and integration tests of a Rust package. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Only run tests containing a specific string in their names

cargo [t test_nameIdentify

Set the number of simultaneous running test cases

cargo [t -- --test-threads countIdentify

Test artifacts in release mode, with optimizations

cargo [t --releaseIdentify

Test all packages in the workspace

cargo [t --workspaceIdentify

Run tests for a specific package

cargo [t --package packageIdentify

Run tests without hiding output from test executions

cargo [t -- --nocaptureIdentify