pub trait Test: Send + Sync {
// Required method
fn name(&self) -> &'static str;
// Provided methods
fn ignored(&self) -> bool { ... }
fn should_fail(&self) -> ShouldFail { ... }
}
Expand description
Represents a Test in Forge
This is meant to be a super trait of the other test interfaces.
Required Methods§
Provided Methods§
sourcefn should_fail(&self) -> ShouldFail
fn should_fail(&self) -> ShouldFail
Indicates if the Test should fail