Struct aws_sdk_devicefarm::types::Test
source · #[non_exhaustive]pub struct Test {
pub arn: Option<String>,
pub name: Option<String>,
pub type: Option<TestType>,
pub created: Option<DateTime>,
pub status: Option<ExecutionStatus>,
pub result: Option<ExecutionResult>,
pub started: Option<DateTime>,
pub stopped: Option<DateTime>,
pub counters: Option<Counters>,
pub message: Option<String>,
pub device_minutes: Option<DeviceMinutes>,
}
Expand description
Represents a condition that is evaluated.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.arn: Option<String>
The test's ARN.
name: Option<String>
The test's name.
type: Option<TestType>
The test'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
created: Option<DateTime>
When the test was created.
status: Option<ExecutionStatus>
The test's status.
Allowed values include:
-
PENDING
-
PENDING_CONCURRENCY
-
PENDING_DEVICE
-
PROCESSING
-
SCHEDULING
-
PREPARING
-
RUNNING
-
COMPLETED
-
STOPPING
result: Option<ExecutionResult>
The test's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
started: Option<DateTime>
The test's start time.
stopped: Option<DateTime>
The test's stop time.
counters: Option<Counters>
The test's result counters.
message: Option<String>
A message about the test's result.
device_minutes: Option<DeviceMinutes>
Represents the total (metered or unmetered) minutes used by the test.
Implementations§
source§impl Test
impl Test
sourcepub fn type(&self) -> Option<&TestType>
pub fn type(&self) -> Option<&TestType>
The test'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 status(&self) -> Option<&ExecutionStatus>
pub fn status(&self) -> Option<&ExecutionStatus>
The test'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 test's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
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.