pub trait TestingT {
// Required methods
fn errorf(&self, msg: &str);
fn fail_now(&self);
}Expand description
Hooks for reporting assertion failures from mock verification (similar to Go’s testing.T).
Implement this for your test context: typically errorf records a message
and fail_now marks the test as failed or aborts the current check.
§Examples
use suitecase::mock::TestingT;
struct Counting;
impl TestingT for Counting {
fn errorf(&self, _: &str) {}
fn fail_now(&self) {}
}