config

package
Version: v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Sadly there is no way to gracefully deprecate access to these global config variables. Users who need access to Ginkgo's configuration should use the DSL's GinkgoConfiguraiton() method These new unwieldy type names exist to give users a hint when they try to compile and the compilation fails

Sadly there is no way to gracefully deprecate access to these global config variables. Users who need access to Ginkgo's configuration should use the DSL's GinkgoConfiguraiton() method These new unwieldy type names exist to give users a hint when they try to compile and the compilation fails

Functions

This section is empty.

Types

type DefaultReporterConfigIsNoLongerAccessibleFromTheConfigPackageUseTheDSLsGinkgoConfigurationFunctionInstead

type DefaultReporterConfigIsNoLongerAccessibleFromTheConfigPackageUseTheDSLsGinkgoConfigurationFunctionInstead struct{}

Sadly there is no way to gracefully deprecate access to these global config variables. Users who need access to Ginkgo's configuration should use the DSL's GinkgoConfiguraiton() method These new unwieldy type names exist to give users a hint when they try to compile and the compilation fails

type DefaultReporterConfigType

type DefaultReporterConfigType = DeprecatedDefaultReporterConfigType

DefaultReporterConfigType has been deprecated and its equivalent now lives in the types package. You can no longer access Ginkgo configuration from the config package. Instead use the DSL's GinkgoConfiguration() function to get copies of the current configuration

DefaultReporterConfigType is still here so custom V1 reporters do not result in a compilation error It will be removed in a future minor release of Ginkgo

type DeprecatedDefaultReporterConfigType

type DeprecatedDefaultReporterConfigType struct {
	NoColor           bool
	SlowSpecThreshold float64
	NoisyPendings     bool
	NoisySkippings    bool
	Succinct          bool
	Verbose           bool
	FullTrace         bool
	ReportPassed      bool
	ReportFile        string
}

type DeprecatedGinkgoConfigType

type DeprecatedGinkgoConfigType struct {
	RandomSeed         int64
	RandomizeAllSpecs  bool
	RegexScansFilePath bool
	FocusStrings       []string
	SkipStrings        []string
	SkipMeasurements   bool
	FailOnPending      bool
	FailFast           bool
	FlakeAttempts      int
	EmitSpecProgress   bool
	DryRun             bool
	DebugParallel      bool

	ParallelNode  int
	ParallelTotal int
	SyncHost      string
	StreamHost    string
}

type GinkgoConfigIsNoLongerAccessibleFromTheConfigPackageUseTheDSLsGinkgoConfigurationFunctionInstead

type GinkgoConfigIsNoLongerAccessibleFromTheConfigPackageUseTheDSLsGinkgoConfigurationFunctionInstead struct{}

Sadly there is no way to gracefully deprecate access to these global config variables. Users who need access to Ginkgo's configuration should use the DSL's GinkgoConfiguraiton() method These new unwieldy type names exist to give users a hint when they try to compile and the compilation fails

type GinkgoConfigType

type GinkgoConfigType = DeprecatedGinkgoConfigType

GinkgoConfigType has been deprecated and its equivalent now lives in the types package. You can no longer access Ginkgo configuration from the config package. Instead use the DSL's GinkgoConfiguration() function to get copies of the current configuration

GinkgoConfigType is still here so custom V1 reporters do not result in a compilation error It will be removed in a future minor release of Ginkgo

Source Files

Jump to

Keyboard shortcuts

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