pub struct RunParams {
pub timeout_behavior: TimeoutBehavior,
pub timeout_grace_seconds: u32,
pub stop_after_failures: Option<NonZeroU32>,
pub experimental_parallel_execution: Option<u16>,
pub accumulate_debug_data: bool,
pub log_protocol: Option<LogsIteratorOption>,
pub min_severity_logs: Vec<LogInterestSelector>,
pub show_full_moniker: bool,
}
Expand description
Parameters that specify how the overall test run should be executed.
Fields§
§timeout_behavior: TimeoutBehavior
The behavior of the test run if a suite times out.
timeout_grace_seconds: u32
Time in seconds to wait for events to drain after timeout.
stop_after_failures: Option<NonZeroU32>
If set, stop executing tests after this number of normal test failures occur.
experimental_parallel_execution: Option<u16>
If set, execute this number of test suites in parallel. Server will use default value if this is zero.
accumulate_debug_data: bool
Whether or not to merge debug data from previous runs with new debug data collected for this test run.
log_protocol: Option<LogsIteratorOption>
If set, set the protocol used to retrieve logs. If not set, an appropriate default will be chosen by the implementation.
min_severity_logs: Vec<LogInterestSelector>
If set, specifies the minimum log severity to report. As it is an option for output, it will likely soon be moved to a reporter.
show_full_moniker: bool
If true, shows the full moniker in logs.
Auto Trait Implementations§
impl Freeze for RunParams
impl RefUnwindSafe for RunParams
impl Send for RunParams
impl Sync for RunParams
impl Unpin for RunParams
impl UnwindSafe for RunParams
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more