pub struct TestParams {Show 13 fields
pub test_url: String,
pub realm: Arc<Option<Realm>>,
pub timeout_seconds: Option<NonZeroU32>,
pub test_filters: Option<Vec<String>>,
pub no_cases_equals_success: Option<bool>,
pub also_run_disabled_tests: bool,
pub parallel: Option<u16>,
pub test_args: Vec<String>,
pub max_severity_logs: Option<Severity>,
pub min_severity_logs: Vec<LogInterestSelector>,
pub tags: Vec<TestTag>,
pub break_on_failure: bool,
pub no_exception_channel: bool,
}Expand description
Parameters that specify how a single test suite should be executed.
Fields§
§test_url: StringTest URL.
realm: Arc<Option<Realm>>Provided test realm.
timeout_seconds: Option<NonZeroU32>Test timeout. Must be more than zero.
test_filters: Option<Vec<String>>Filter tests based on glob pattern(s).
no_cases_equals_success: Option<bool>Whether an empty test case set means success or failure.
also_run_disabled_tests: boolRun disabled tests.
parallel: Option<u16>Test concurrency count.
test_args: Vec<String>Arguments to pass to test using command line.
max_severity_logs: Option<Severity>Maximum allowable log severity for the test.
min_severity_logs: Vec<LogInterestSelector>Minimum requested log severity to print for the test.
List of tags to associate with this test’s output.
break_on_failure: boolStop the test suite on the first test failure so a debugger can attach.
no_exception_channel: boolDon’t create exception channels, which may conflict with the exception channels created by the test.
Trait Implementations§
Source§impl Clone for TestParams
impl Clone for TestParams
Source§fn clone(&self) -> TestParams
fn clone(&self) -> TestParams
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 TestParams
impl Debug for TestParams
Source§impl Default for TestParams
impl Default for TestParams
Source§fn default() -> TestParams
fn default() -> TestParams
Returns the “default value” for a type. Read more
Source§impl PartialEq for TestParams
impl PartialEq for TestParams
impl StructuralPartialEq for TestParams
Auto Trait Implementations§
impl Freeze for TestParams
impl !RefUnwindSafe for TestParams
impl Send for TestParams
impl Sync for TestParams
impl Unpin for TestParams
impl !UnwindSafe for TestParams
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]§impl<T> IntoAny for T
impl<T> IntoAny for T
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