pub struct WatchRunnerOptions {
pub clear_screen: bool,
pub run_failed_only: bool,
pub debounce_ms: u64,
pub max_runs: u32,
pub extra_args: Vec<String>,
pub verbose: bool,
}Expand description
Options controlling watch runner behavior.
Fields§
§clear_screen: boolClear screen between runs.
run_failed_only: boolOnly re-run failed tests (when triggered by ‘f’ key).
debounce_ms: u64Debounce time in milliseconds.
max_runs: u32Maximum number of re-runs (0 = unlimited, useful for testing).
extra_args: Vec<String>Extra arguments to pass to the test runner.
verbose: boolVerbose mode.
Implementations§
Source§impl WatchRunnerOptions
impl WatchRunnerOptions
Sourcepub fn from_config(config: &WatchConfig) -> Self
pub fn from_config(config: &WatchConfig) -> Self
Create options from a WatchConfig and extra CLI settings.
Trait Implementations§
Source§impl Clone for WatchRunnerOptions
impl Clone for WatchRunnerOptions
Source§fn clone(&self) -> WatchRunnerOptions
fn clone(&self) -> WatchRunnerOptions
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 WatchRunnerOptions
impl Debug for WatchRunnerOptions
Auto Trait Implementations§
impl Freeze for WatchRunnerOptions
impl RefUnwindSafe for WatchRunnerOptions
impl Send for WatchRunnerOptions
impl Sync for WatchRunnerOptions
impl Unpin for WatchRunnerOptions
impl UnsafeUnpin for WatchRunnerOptions
impl UnwindSafe for WatchRunnerOptions
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