test_harness

Function run_singlethreaded_test

Source
pub fn run_singlethreaded_test<F, Fut, R>(test: F) -> R
where F: 'static + Send + Sync + Fn(usize) -> Fut, Fut: 'static + Future<Output = R>, R: TestResult,
Expand description

Runs a test in an executor, potentially repeatedly and concurrently