pub trait Testing {
// Required methods
fn use_case(&self) -> UseCase;
fn namepath(&self) -> &Namepath;
fn fixture_dir(&self) -> &Path;
fn temp_dir(&self) -> &Path;
}
Expand description
Common to all testing models: TestModule, TestGroup, and Test.
Required Methods§
Sourcefn fixture_dir(&self) -> &Path
fn fixture_dir(&self) -> &Path
The canonical fixture directory, if configured to use one. By default, this is based on the use-case and namepath