Trait test_util::TestHook[][src]

pub trait TestHook {
    fn setup(&mut self);
fn teardown(&mut self); }

Hooks for customize tests procedure.

Required methods

fn setup(&mut self)[src]

Called before running every case.

fn teardown(&mut self)[src]

Called after every case.

Loading content...

Implementors

impl TestHook for FailpointHook[src]

impl TestHook for Nope[src]

Loading content...