Struct file_test_runner::CollectOptions
source · pub struct CollectOptions {
pub base: PathBuf,
pub strategy: FileCollectionStrategy,
pub root_category_name: String,
pub filter_override: Option<String>,
}Fields§
§base: PathBuf§strategy: FileCollectionStrategy§root_category_name: StringName of the category to use at the top level.
Ex. providing "specs" here will cause all tests
to be prefixed with specs:: in their name.
filter_override: Option<String>Override the filter provided on the command line.
Generally, just provide None here.
Auto Trait Implementations§
impl Freeze for CollectOptions
impl RefUnwindSafe for CollectOptions
impl Send for CollectOptions
impl Sync for CollectOptions
impl Unpin for CollectOptions
impl UnwindSafe for CollectOptions
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