pub struct Module { /* private fields */ }
Implementations§
Source§impl Module
impl Module
pub fn namepath(&self) -> &Namepath
pub fn use_case(&self) -> &UseCase
pub fn base_temp_dir(&self) -> &Path
pub fn group(&self, name: &str) -> GroupBuilder<'_, '_>
pub fn local_group(&self, name: &str) -> GroupBuilder<'_, '_>
Sourcepub fn test(&self, name: &str) -> TestBuilder<'_, '_, '_, '_>
pub fn test(&self, name: &str) -> TestBuilder<'_, '_, '_, '_>
Creates a TestBuilder.
Trait Implementations§
Source§impl Testable for Module
impl Testable for Module
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.
impl Eq for Module
impl StructuralPartialEq for Module
Auto Trait Implementations§
impl Freeze for Module
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnwindSafe for Module
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