cypress

package
v0.175.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 5 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

This section is empty.

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
	GetBeforeExec() []string
	GetReporters() config.Reporters
	GetNotifications() config.Notifications
	GetNpm() config.Npm
	SetCLIFlags(map[string]interface{})
	GetSuites() []suite.Suite
	GetKind() string
	SetRunnerVersion(string)
	GetSuite() suite.Suite
	GetAPIVersion() string
	GetSmartRetry(suiteName string) config.SmartRetry
	FilterFailedTests(suiteName string, report saucereport.SauceReport) error
	IsSmartRetried() bool
}

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