cypress

package
v0.103.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Kind represents the type definition of this config.
	Kind = "cypress"
)

Config descriptors.

Functions

func SplitSuites added in v0.38.0

func SplitSuites(project Project) (Project, Project)

SplitSuites divided Suites to dockerSuites and sauceSuites

Types

type Project

type Project interface {
	FilterSuites(suiteName string) error
	CleanPackages()
	ApplyFlags(selectedSuite string) error
	AppendTags([]string)
	Validate() error
	IsSharded() bool

	SetDefaults()
	GetSuiteCount() int
	GetVersion() string
	GetRunnerVersion() string
	SetVersion(version string)
	GetSauceCfg() config.SauceConfig
	IsDryRun() bool
	GetRootDir() string
	GetSuiteNames() string
	GetCfgPath() string
	GetCLIFlags() map[string]interface{}
	GetArtifactsCfg() config.Artifacts
	IsShowConsoleLog() bool
	GetDocker() config.Docker
	GetBeforeExec() []string
	GetReporter() config.Reporters
	GetNotifications() config.Notifications
	GetNpm() config.Npm
	SetCLIFlags(map[string]interface{})
	GetSuites() []suite.Suite
	GetKind() string
	SetRunnerVersion(string)
	GetSuite() suite.Suite
	GetAPIVersion() string
}

func FromFile

func FromFile(cfgPath string) (Project, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL