Skip to main content

Crate test_r

Crate test_r 

Source

Re-exports§

pub use ::ctor;

Modules§

core

Macros§

add_test
define_matrix_dimension
enable
inherit_test_dep
sequential_suite
tag_suite
timeout_suite

Structs§

AsyncBencher
Bencher

Functions§

spawn
Spawn a future on the tokio runtime with test context propagation. If the spawned task panics and the test uses DetachedPanicPolicy::FailTest (default), the panic will be reported as a test failure after the test body completes.
spawn_thread
Spawn a thread with test context propagation. If the spawned thread panics and the test uses DetachedPanicPolicy::FailTest (default), the panic will be reported as a test failure after the test body completes.

Attribute Macros§

always_capture
always_ensure_time
always_report_time
bench
flaky
ignore_detached_panics
never_capture
never_ensure_time
never_report_time
non_flaky
sequential
tag
test
test_dep
test_gen
timeout