Struct aws_sdk_devicefarm::model::Run
source · #[non_exhaustive]pub struct Run { /* private fields */ }Expand description
Represents a test run on a set of devices with a given app package, test parameters, and so on.
Implementations§
source§impl Run
impl Run
sourcepub fn type(&self) -> Option<&TestType>
pub fn type(&self) -> Option<&TestType>
The run's type.
Must be one of the following values:
-
BUILTIN_FUZZ
-
BUILTIN_EXPLORER
For Android, an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.
-
APPIUM_JAVA_JUNIT
-
APPIUM_JAVA_TESTNG
-
APPIUM_PYTHON
-
APPIUM_NODE
-
APPIUM_RUBY
-
APPIUM_WEB_JAVA_JUNIT
-
APPIUM_WEB_JAVA_TESTNG
-
APPIUM_WEB_PYTHON
-
APPIUM_WEB_NODE
-
APPIUM_WEB_RUBY
-
CALABASH
-
INSTRUMENTATION
-
UIAUTOMATION
-
UIAUTOMATOR
-
XCTEST
-
XCTEST_UI
sourcepub fn platform(&self) -> Option<&DevicePlatform>
pub fn platform(&self) -> Option<&DevicePlatform>
The run's platform.
Allowed values include:
-
ANDROID
-
IOS
sourcepub fn status(&self) -> Option<&ExecutionStatus>
pub fn status(&self) -> Option<&ExecutionStatus>
The run's status.
Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
sourcepub fn result(&self) -> Option<&ExecutionResult>
pub fn result(&self) -> Option<&ExecutionResult>
The run's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
sourcepub fn total_jobs(&self) -> Option<i32>
pub fn total_jobs(&self) -> Option<i32>
The total number of jobs for the run.
sourcepub fn completed_jobs(&self) -> Option<i32>
pub fn completed_jobs(&self) -> Option<i32>
The total number of completed jobs.
sourcepub fn billing_method(&self) -> Option<&BillingMethod>
pub fn billing_method(&self) -> Option<&BillingMethod>
Specifies the billing method for a test run: metered or unmetered. If the parameter is not specified, the default value is metered.
If you have unmetered device slots, you must set this to unmetered to use them. Otherwise, the run is counted toward metered device minutes.
sourcepub fn device_minutes(&self) -> Option<&DeviceMinutes>
pub fn device_minutes(&self) -> Option<&DeviceMinutes>
Represents the total (metered or unmetered) minutes used by the test run.
sourcepub fn network_profile(&self) -> Option<&NetworkProfile>
pub fn network_profile(&self) -> Option<&NetworkProfile>
The network profile being used for a test run.
sourcepub fn parsing_result_url(&self) -> Option<&str>
pub fn parsing_result_url(&self) -> Option<&str>
Read-only URL for an object in an S3 bucket where you can get the parsing results of the test package. If the test package doesn't parse, the reason why it doesn't parse appears in the file that this URL points to.
sourcepub fn result_code(&self) -> Option<&ExecutionResultCode>
pub fn result_code(&self) -> Option<&ExecutionResultCode>
Supporting field for the result field. Set only if result is SKIPPED. PARSING_FAILED if the result is skipped because of test package parsing failure.
sourcepub fn seed(&self) -> Option<i32>
pub fn seed(&self) -> Option<i32>
For fuzz tests, this is a seed to use for randomizing the UI fuzz test. Using the same seed value between tests ensures identical event sequences.
sourcepub fn app_upload(&self) -> Option<&str>
pub fn app_upload(&self) -> Option<&str>
An app to upload or that has been uploaded.
sourcepub fn event_count(&self) -> Option<i32>
pub fn event_count(&self) -> Option<i32>
For fuzz tests, this is the number of events, between 1 and 10000, that the UI fuzz test should perform.
sourcepub fn job_timeout_minutes(&self) -> Option<i32>
pub fn job_timeout_minutes(&self) -> Option<i32>
The number of minutes the job executes before it times out.
sourcepub fn device_pool_arn(&self) -> Option<&str>
pub fn device_pool_arn(&self) -> Option<&str>
The ARN of the device pool for the run.
sourcepub fn location(&self) -> Option<&Location>
pub fn location(&self) -> Option<&Location>
Information about the location that is used for the run.
sourcepub fn customer_artifact_paths(&self) -> Option<&CustomerArtifactPaths>
pub fn customer_artifact_paths(&self) -> Option<&CustomerArtifactPaths>
Output CustomerArtifactPaths object for the test run.
sourcepub fn web_url(&self) -> Option<&str>
pub fn web_url(&self) -> Option<&str>
The Device Farm console URL for the recording of the run.
sourcepub fn skip_app_resign(&self) -> Option<bool>
pub fn skip_app_resign(&self) -> Option<bool>
When set to true, for private devices, Device Farm does not sign your app again. For public devices, Device Farm always signs your apps again.
For more information about how Device Farm re-signs your apps, see Do you modify my app? in the AWS Device Farm FAQs.
sourcepub fn test_spec_arn(&self) -> Option<&str>
pub fn test_spec_arn(&self) -> Option<&str>
The ARN of the YAML-formatted test specification for the run.
sourcepub fn device_selection_result(&self) -> Option<&DeviceSelectionResult>
pub fn device_selection_result(&self) -> Option<&DeviceSelectionResult>
The results of a device filter used to select the devices for a test run.
sourcepub fn vpc_config(&self) -> Option<&VpcConfig>
pub fn vpc_config(&self) -> Option<&VpcConfig>
The VPC security groups and subnets that are attached to a project.