cypress

package
v0.113.1-beta1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 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
Package grep implements functions to parse and filter spec files by cypress-grep expressions.
Package grep implements functions to parse and filter spec files by cypress-grep expressions.

Jump to

Keyboard shortcuts

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