pub type HookFn = Arc<dyn Fn(FixturePool, Arc<TestInfo>) -> Pin<Box<dyn Future<Output = Result<(), TestFailure>> + Send>> + Send + Sync>;Expand description
Test-scoped hook (before_each / after_each). Receives fixture pool + TestInfo.
TestInfo provides access to test tags, name, step API, and event bus.
Aliased Typeยง
pub struct HookFn { /* private fields */ }