pub struct TestSpecification {
pub android_instrumentation_test: Option<AndroidInstrumentationTest>,
pub android_robo_test: Option<AndroidRoboTest>,
pub android_test_loop: Option<AndroidTestLoop>,
pub disable_performance_metrics: Option<bool>,
pub disable_video_recording: Option<bool>,
pub ios_robo_test: Option<IosRoboTest>,
pub ios_test_loop: Option<IosTestLoop>,
pub ios_test_setup: Option<IosTestSetup>,
pub ios_xc_test: Option<IosXcTest>,
pub test_setup: Option<TestSetup>,
pub test_timeout: Option<Duration>,
}
Expand description
A description of how to run the test.
This type is not used in any activity, and only used as part of another schema.
Fields§
§android_instrumentation_test: Option<AndroidInstrumentationTest>
An Android instrumentation test.
android_robo_test: Option<AndroidRoboTest>
An Android robo test.
android_test_loop: Option<AndroidTestLoop>
An Android Application with a Test Loop.
disable_performance_metrics: Option<bool>
Disables performance metrics recording. May reduce test latency.
disable_video_recording: Option<bool>
Disables video recording. May reduce test latency.
ios_robo_test: Option<IosRoboTest>
An iOS Robo test.
ios_test_loop: Option<IosTestLoop>
An iOS application with a test loop.
ios_test_setup: Option<IosTestSetup>
Test setup requirements for iOS.
ios_xc_test: Option<IosXcTest>
An iOS XCTest, via an .xctestrun file.
test_setup: Option<TestSetup>
Test setup requirements for Android e.g. files to install, bootstrap scripts.
test_timeout: Option<Duration>
Max time a test execution is allowed to run before it is automatically cancelled. The default value is 5 min.
Trait Implementations§
Source§impl Clone for TestSpecification
impl Clone for TestSpecification
Source§fn clone(&self) -> TestSpecification
fn clone(&self) -> TestSpecification
Returns a copy 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 TestSpecification
impl Debug for TestSpecification
Source§impl Default for TestSpecification
impl Default for TestSpecification
Source§fn default() -> TestSpecification
fn default() -> TestSpecification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TestSpecification
impl<'de> Deserialize<'de> for TestSpecification
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for TestSpecification
impl Serialize for TestSpecification
impl Part for TestSpecification
Auto Trait Implementations§
impl Freeze for TestSpecification
impl RefUnwindSafe for TestSpecification
impl Send for TestSpecification
impl Sync for TestSpecification
impl Unpin for TestSpecification
impl UnwindSafe for TestSpecification
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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