pub struct RunnerConfig {
pub project_dir: PathBuf,
pub adapter_override: Option<String>,
pub extra_args: Vec<String>,
pub timeout: Option<Duration>,
pub env: HashMap<String, String>,
pub retries: u32,
pub fail_fast: bool,
pub filter: Option<String>,
pub exclude: Option<String>,
pub verbose: bool,
}Expand description
Configuration for a test run.
Fields§
§project_dir: PathBufProject directory to run tests in.
adapter_override: Option<String>Override adapter selection by name.
extra_args: Vec<String>Extra arguments to pass to the test runner.
timeout: Option<Duration>Maximum time to wait for test completion.
env: HashMap<String, String>Environment variables to set for the test process.
retries: u32Number of times to retry failed tests.
fail_fast: boolStop on first test failure.
filter: Option<String>Test name filter pattern.
exclude: Option<String>Exclude pattern.
verbose: boolVerbose mode (print commands, detection details).
Implementations§
Source§impl RunnerConfig
impl RunnerConfig
Trait Implementations§
Source§impl Clone for RunnerConfig
impl Clone for RunnerConfig
Source§fn clone(&self) -> RunnerConfig
fn clone(&self) -> RunnerConfig
Returns a duplicate 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 RunnerConfig
impl Debug for RunnerConfig
Auto Trait Implementations§
impl Freeze for RunnerConfig
impl RefUnwindSafe for RunnerConfig
impl Send for RunnerConfig
impl Sync for RunnerConfig
impl Unpin for RunnerConfig
impl UnsafeUnpin for RunnerConfig
impl UnwindSafe for RunnerConfig
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