[][src]Trait mimicaw::TestRunner

pub trait TestRunner<D> {
    type Future: Future<Output = Outcome>;
    fn run(&mut self, desc: TestDesc, data: D) -> Self::Future;
}

The runner of test cases.

Associated Types

type Future: Future<Output = Outcome>

The type of future returned from run.

Loading content...

Required methods

fn run(&mut self, desc: TestDesc, data: D) -> Self::Future

Run a test case.

Loading content...

Implementors

impl<F, D, R> TestRunner<D> for F where
    F: FnMut(TestDesc, D) -> R,
    R: Future<Output = Outcome>, 
[src]

type Future = R

Loading content...