pub trait Case:
Debug
+ Sync
+ Sized {
// Required methods
fn load(path: &Path) -> Result<Self, Error>;
fn run(&self) -> Result<(), Error>;
// Provided method
fn description(&self) -> String { ... }
}
Expand description
A single test case, capable of loading a JSON description of itself and running it.
See https://ethereum-tests.readthedocs.io/ for test specs.
Required Methods§
Provided Methods§
sourcefn description(&self) -> String
fn description(&self) -> String
A description of the test.
Object Safety§
This trait is not object safe.