Documentation ¶
Index ¶
Constants ¶
View Source
const Android = "Android"
Android constant
Variables ¶
View Source
var ( // Kind represents the type definition of this config. Kind = "espresso" // APIVersion represents the supported config version. APIVersion = "v1alpha" )
Config descriptors.
Functions ¶
func SetDefaults ¶ added in v0.51.1
func SetDefaults(p *Project)
SetDefaults applies config defaults in case the user has left them blank.
Types ¶
type Espresso ¶
type Espresso struct { App string `yaml:"app,omitempty" json:"app"` TestApp string `yaml:"testApp,omitempty" json:"testApp"` }
Espresso represents espresso apps configuration.
type Project ¶
type Project struct { config.TypeDef `yaml:",inline"` ConfigFilePath string `yaml:"-" json:"-"` Sauce config.SauceConfig `yaml:"sauce,omitempty" json:"sauce"` Espresso Espresso `yaml:"espresso,omitempty" json:"espresso"` Suites []Suite `yaml:"suites,omitempty" json:"suites"` Artifacts config.Artifacts `yaml:"artifacts,omitempty" json:"artifacts"` }
Project represents the espresso project configuration.
type Suite ¶
type Suite struct { Name string `yaml:"name,omitempty" json:"name"` Devices []config.Device `yaml:"devices,omitempty" json:"devices"` Emulators []config.Emulator `yaml:"emulators,omitempty" json:"emulators"` TestOptions TestOptions `yaml:"testOptions,omitempty" json:"testOptions"` }
Suite represents the espresso test suite configuration.
type TestOptions ¶
type TestOptions struct { NotClass []string `yaml:"notClass,omitempty" json:"notClass"` Class []string `yaml:"class,omitempty" json:"class"` Package string `yaml:"package,omitempty" json:"package"` Size string `yaml:"size,omitempty" json:"size"` Annotation string `yaml:"annotation,omitempty" json:"annotation"` ShardIndex int `json:"shardIndex"` NumShards int `yaml:"numShards,omitempty" json:"numShards"` ClearPackageData bool `yaml:"clearPackageData,omitempty" json:"clearPackageData"` }
TestOptions represents the espresso test filter options configuration.
Click to show internal directories.
Click to hide internal directories.