pub fn with_context<F, R>(f: F) -> Option<R>where
F: FnOnce(&mut TestContext) -> R,Expand description
Executes a function with the current test context.
pub fn with_context<F, R>(f: F) -> Option<R>where
F: FnOnce(&mut TestContext) -> R,Executes a function with the current test context.