Trait tester::Termination

source ·
pub trait Termination {
    // Required method
    fn report(self) -> i32;
}
Expand description

Invoked when unit tests terminate. Should panic if the unit Tests is considered a failure. By default, invokes report() and checks for a 0 result.

Required Methods§

source

fn report(self) -> i32

Implementations on Foreign Types§

source§

impl Termination for ()

source§

fn report(self) -> i32

Implementors§