Module cargo_test

Source

Structs§

TestOptions
UnitTestError 🔒
A unit that failed to run.

Enums§

TestKind 🔒
The kind of test.

Functions§

cmd_builds 🔒
Creates a ProcessBuilder for executing a single test.
compile_tests 🔒
display_no_run_information 🔒
Displays human-readable descriptions of the test executables.
fail_fast_code 🔒
Returns the error code to use when not using --no-fail-fast.
no_fail_fast_err 🔒
Returns the CliError when using --no-fail-fast and there is at least one error.
report_test_error 🔒
Displays an error on the console about a test failure.
run_benches
Compiles and runs benchmarks.
run_doc_tests 🔒
Runs doc tests.
run_tests
Compiles and runs tests.
run_unit_tests 🔒
Runs the unit and integration tests of a package.