Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Kind represents the type definition of this config. Kind = "xcuitest" // 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 Project ¶
type Project struct { config.TypeDef `yaml:",inline"` ConfigFilePath string `yaml:"-" json:"-"` DryRun bool `yaml:"-" json:"-"` Sauce config.SauceConfig `yaml:"sauce,omitempty" json:"sauce"` Xcuitest Xcuitest `yaml:"xcuitest,omitempty" json:"xcuitest"` Suites []Suite `yaml:"suites,omitempty" json:"suites"` Artifacts config.Artifacts `yaml:"artifacts,omitempty" json:"artifacts"` }
Project represents the xcuitest project configuration.
type Suite ¶
type Suite struct { Name string `yaml:"name,omitempty" json:"name"` Devices []config.Device `yaml:"devices,omitempty" json:"devices"` TestOptions TestOptions `yaml:"testOptions,omitempty" json:"testOptions"` }
Suite represents the xcuitest test suite configuration.
type TestOptions ¶
type TestOptions struct {
Class []string `yaml:"class,omitempty" json:"class"`
}
TestOptions represents the xcuitest test filter options configuration.
Click to show internal directories.
Click to hide internal directories.