Struct google_testing1::api::TestSpecification[][src]

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<String>,
}
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<String>

Max time a test execution is allowed to run before it is automatically cancelled. The default value is 5 min.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.