[−][src]Module test::time_constants
🔬 This is a nightly-only experimental API. (
test)This small module contains constants used by report-time option.
Those constants values will be used if corresponding environment variables are not set.
To override values for unit-tests, use a constant RUST_TEST_TIME_UNIT,
To override values for integration tests, use a constant RUST_TEST_TIME_INTEGRATION,
To override values for doctests, use a constant RUST_TEST_TIME_DOCTEST.
Example of the expected format is RUST_TEST_TIME_xxx=100,200, where 100 means
warn time, and 200 means critical time.
Constants
| DOCTEST_CRITICAL | Experimental |
| DOCTEST_ENV_NAME | Experimental Environment variable for overriding default threshold for unit-tests. |
| DOCTEST_WARN | Experimental |
| INTEGRATION_CRITICAL | Experimental |
| INTEGRATION_ENV_NAME | Experimental Environment variable for overriding default threshold for unit-tests. |
| INTEGRATION_WARN | Experimental |
| UNIT_CRITICAL | Experimental |
| UNIT_ENV_NAME | Experimental Environment variable for overriding default threshold for unit-tests. |
| UNIT_WARN | Experimental |
| UNKNOWN_CRITICAL | Experimental |
| UNKNOWN_WARN | Experimental |