Function test_harness::run_with_harness
source · pub async fn run_with_harness<H, F, Fut>(test_func: F)where
H: TestHarness,
F: FnOnce(H) -> Fut + Send + 'static,
Fut: Future<Output = ()> + Send + 'static,
Expand description
We can run any test which is an async function from some harness H
to a result