#[non_exhaustive]pub struct RunnerOptions {
pub concurrency: usize,
pub trials: u32,
pub filters: Vec<String>,
pub pass_rate: Option<f64>,
pub keep_events: bool,
}Expand description
How to run a suite.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.concurrency: usizeTests running at the same time (at least 1).
trials: u32Trials per test case (at least 1); each trial is a separate result, and with more than one the report adds pass@k and pass^k per case.
filters: Vec<String>Keep only cases whose id or a tag matches one of these (* wildcards).
pass_rate: Option<f64>Override the suite’s gate.pass_rate.
keep_events: boolInclude the run events in the results.
Trait Implementations§
Source§impl Clone for RunnerOptions
impl Clone for RunnerOptions
Source§impl Debug for RunnerOptions
impl Debug for RunnerOptions
Auto Trait Implementations§
impl Forget for RunnerOptions
impl Freeze for RunnerOptions
impl Move for RunnerOptions
impl RefUnwindSafe for RunnerOptions
impl Send for RunnerOptions
impl Sync for RunnerOptions
impl Unpin for RunnerOptions
impl UnsafeUnpin for RunnerOptions
impl UnwindSafe for RunnerOptions
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