AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

Test

import "github.com/aws/aws-sdk-go/service/devicefarm"

type Test struct { Arn *string `locationName:"arn" min:"32" type:"string"` Counters *Counters `locationName:"counters" type:"structure"` Created *time.Time `locationName:"created" type:"timestamp"` DeviceMinutes *DeviceMinutes `locationName:"deviceMinutes" type:"structure"` Message *string `locationName:"message" type:"string"` Name *string `locationName:"name" type:"string"` Result *string `locationName:"result" type:"string" enum:"ExecutionResult"` Started *time.Time `locationName:"started" type:"timestamp"` Status *string `locationName:"status" type:"string" enum:"ExecutionStatus"` Stopped *time.Time `locationName:"stopped" type:"timestamp"` Type *string `locationName:"type" type:"string" enum:"TestType"` }

Represents a condition that is evaluated.

Arn

Type: *string

The test's ARN.

Counters

Represents entity counters.

Created

Type: *time.Time

When the test was created.

DeviceMinutes

Represents the total (metered or unmetered) minutes used by the resource to run tests. Contains the sum of minutes consumed by all children.

Message

Type: *string

A message about the test's result.

Name

Type: *string

The test's name.

Result

Type: *string

The test's result.

Allowed values include:

  • PENDING: A pending condition.

  • PASSED: A passing condition.

  • WARNED: A warning condition.

  • FAILED: A failed condition.

  • SKIPPED: A skipped condition.

  • ERRORED: An error condition.

  • STOPPED: A stopped condition.

Started

Type: *time.Time

The test's start time.

Status

Type: *string

The test's status.

Allowed values include:

  • PENDING: A pending status.

  • PENDING_CONCURRENCY: A pending concurrency status.

  • PENDING_DEVICE: A pending device status.

  • PROCESSING: A processing status.

  • SCHEDULING: A scheduling status.

  • PREPARING: A preparing status.

  • RUNNING: A running status.

  • COMPLETED: A completed status.

  • STOPPING: A stopping status.

Stopped

Type: *time.Time

The test's stop time.

Type

Type: *string

The test's type.

Must be one of the following values:

  • BUILTIN_FUZZ: The built-in fuzz type.

  • BUILTIN_EXPLORER: For Android, an app explorer that will traverse an Android app, interacting with it and capturing screenshots at the same time.

  • APPIUM_JAVA_JUNIT: The Appium Java JUnit type.

  • APPIUM_JAVA_TESTNG: The Appium Java TestNG type.

  • APPIUM_PYTHON: The Appium Python type.

  • APPIUM_NODE: The Appium Node.js type.

  • APPIUM_RUBY: The Appium Ruby type.

  • APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for web apps.

  • APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for web apps.

  • APPIUM_WEB_PYTHON: The Appium Python type for web apps.

  • APPIUM_WEB_NODE: The Appium Node.js type for web apps.

  • APPIUM_WEB_RUBY: The Appium Ruby type for web apps.

  • CALABASH: The Calabash type.

  • INSTRUMENTATION: The Instrumentation type.

  • UIAUTOMATION: The uiautomation type.

  • UIAUTOMATOR: The uiautomator type.

  • XCTEST: The XCode test type.

  • XCTEST_UI: The XCode UI test type.

Method

GoString

func (s Test) GoString() string

GoString returns the string representation

SetArn

func (s *Test) SetArn(v string) *Test

SetArn sets the Arn field's value.

SetCounters

func (s *Test) SetCounters(v *Counters) *Test

SetCounters sets the Counters field's value.

SetCreated

func (s *Test) SetCreated(v time.Time) *Test

SetCreated sets the Created field's value.

SetDeviceMinutes

func (s *Test) SetDeviceMinutes(v *DeviceMinutes) *Test

SetDeviceMinutes sets the DeviceMinutes field's value.

SetMessage

func (s *Test) SetMessage(v string) *Test

SetMessage sets the Message field's value.

SetName

func (s *Test) SetName(v string) *Test

SetName sets the Name field's value.

SetResult

func (s *Test) SetResult(v string) *Test

SetResult sets the Result field's value.

SetStarted

func (s *Test) SetStarted(v time.Time) *Test

SetStarted sets the Started field's value.

SetStatus

func (s *Test) SetStatus(v string) *Test

SetStatus sets the Status field's value.

SetStopped

func (s *Test) SetStopped(v time.Time) *Test

SetStopped sets the Stopped field's value.

SetType

func (s *Test) SetType(v string) *Test

SetType sets the Type field's value.

String

func (s Test) String() string

String returns the string representation

On this page: