Struct credibility::DefaultTestReporter[][src]

pub struct DefaultTestReporter { /* fields omitted */ }

The default test status reporter. It delays all panics from aver and aver_eq invocations to the end of the test block's lifetime; if any failures occurred, or if the test block returned with an Err Result, it panics.

Trait Implementations

impl Default for DefaultTestReporter
[src]

Returns the "default value" for a type. Read more

impl TestReporter for DefaultTestReporter
[src]

Invoked whenever the result of an aver! is available. If that result is the thread::Result's Err kind, the aver! failed, indicating that the test should fail. Read more

Invoked whenever a test block finished. If result is an Err, indicates that the block failed. This means that the test should abort. Read more

Invoked at the end of life of a test block. Read more

Auto Trait Implementations