pub struct Test<'module, 'group, 'grpfunc, 'func> { /* private fields */ }
Expand description
Implementations§
Source§impl<'module, 'group, 'grpfunc, 'func> Test<'module, 'group, 'grpfunc, 'func>
impl<'module, 'group, 'grpfunc, 'func> Test<'module, 'group, 'grpfunc, 'func>
Sourcepub fn namepath(&self) -> &Namepath
pub fn namepath(&self) -> &Namepath
The full namepath of this test, including its parent Module and Group.
Sourcepub fn name(&self) -> &str
pub fn name(&self) -> &str
The name of this test. Usually this is the function name that created it.
Trait Implementations§
Source§impl<'module, 'group, 'grpfunc, 'func> Testable for Test<'module, 'group, 'grpfunc, 'func>
impl<'module, 'group, 'grpfunc, 'func> Testable for Test<'module, 'group, 'grpfunc, 'func>
Source§fn 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
By default, this is based on the use-case and namepath
Source§fn imported_fixture_dir(&self, namepath: &Namepath) -> &Path
fn imported_fixture_dir(&self, namepath: &Namepath) -> &Path
The canonical fixture directory for another testable, if imported during configuration.
By default, this is based on the use-case and namepath of the referenced testable.
By default, this is based on the use-case and namepath of the referenced testable.
Auto Trait Implementations§
impl<'module, 'group, 'grpfunc, 'func> Freeze for Test<'module, 'group, 'grpfunc, 'func>
impl<'module, 'group, 'grpfunc, 'func> !RefUnwindSafe for Test<'module, 'group, 'grpfunc, 'func>
impl<'module, 'group, 'grpfunc, 'func> !Send for Test<'module, 'group, 'grpfunc, 'func>
impl<'module, 'group, 'grpfunc, 'func> !Sync for Test<'module, 'group, 'grpfunc, 'func>
impl<'module, 'group, 'grpfunc, 'func> Unpin for Test<'module, 'group, 'grpfunc, 'func>
impl<'module, 'group, 'grpfunc, 'func> !UnwindSafe for Test<'module, 'group, 'grpfunc, 'func>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more