Function cargo::ops::cargo_test::run_unit_tests

source ยท
fn run_unit_tests(
    ws: &Workspace<'_>,
    options: &TestOptions,
    test_args: &[&str],
    compilation: &Compilation<'_>,
    test_kind: TestKind
) -> Result<Vec<UnitTestError>, CliError>
Expand description

Runs the unit and integration tests of a package.

Returns a Vec of tests that failed when --no-fail-fast is used. If --no-fail-fast is not used, then this returns an Err.