Struct google_testing1::api::TestSpecification
source · 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_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_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