Skip to main content

run

Function run 

Source
pub fn run<F: Future>(test: F) -> F::Output
Available on crate feature testkit only.
Expand description

Run test to completion on a fresh multi-thread tokio runtime with four workers, so the concurrency tests race on real threads.

§Panics

If the runtime cannot be built, and whenever test panics.