pub enum FileCollectionStrategy {
TestPerFile {
file_pattern: Option<String>,
},
TestPerDirectory {
file_name: String,
},
}Variants§
TestPerFile
All the files in every sub directory will be traversed to find tests that match the pattern.
Provide None to match all files.
TestPerDirectory
Once a matching test file is found in a directory, traversing will stop.
Trait Implementations§
source§impl Clone for FileCollectionStrategy
impl Clone for FileCollectionStrategy
source§fn clone(&self) -> FileCollectionStrategy
fn clone(&self) -> FileCollectionStrategy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for FileCollectionStrategy
impl Debug for FileCollectionStrategy
source§impl PartialEq for FileCollectionStrategy
impl PartialEq for FileCollectionStrategy
source§fn eq(&self, other: &FileCollectionStrategy) -> bool
fn eq(&self, other: &FileCollectionStrategy) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for FileCollectionStrategy
impl StructuralPartialEq for FileCollectionStrategy
Auto Trait Implementations§
impl Freeze for FileCollectionStrategy
impl RefUnwindSafe for FileCollectionStrategy
impl Send for FileCollectionStrategy
impl Sync for FileCollectionStrategy
impl Unpin for FileCollectionStrategy
impl UnwindSafe for FileCollectionStrategy
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