Module cargo::ops::cargo_test
source ยท Structsยง
- 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 ๐
- 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.
- Compiles and runs benchmarks.
- run_doc_tests ๐Runs doc tests.
- Compiles and runs tests.
- run_unit_tests ๐Runs the unit and integration tests of a package.