cargo::ops

Function run_tests

Source
pub fn run_tests(
    ws: &Workspace<'_>,
    options: &TestOptions,
    test_args: &[&str],
) -> CliResult
Expand description

Compiles and runs tests.

On error, the returned CliError will have the appropriate process exit code that Cargo should use.