mycotest

Trait TestReport

Source
pub trait TestReport {
    // Required method
    fn report(self) -> Outcome;
}
Expand description

Type which may be used as a test return type.

Required Methods§

Source

fn report(self) -> Outcome

Report any errors to tracing, then returns either true for a success, or false for a failure.

Implementations on Foreign Types§

Source§

impl TestReport for ()

Source§

impl<T: Debug> TestReport for Result<(), T>

Implementors§