with_context

Function with_context 

Source
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.