podman
1package config2
3// GinkgoConfigType has been deprecated and its equivalent now lives in
4// the types package. You can no longer access Ginkgo configuration from the config
5// package. Instead use the DSL's GinkgoConfiguration() function to get copies of the
6// current configuration
7//
8// GinkgoConfigType is still here so custom V1 reporters do not result in a compilation error
9// It will be removed in a future minor release of Ginkgo
10type GinkgoConfigType = DeprecatedGinkgoConfigType11type DeprecatedGinkgoConfigType struct {12RandomSeed int6413RandomizeAllSpecs bool14RegexScansFilePath bool15FocusStrings []string16SkipStrings []string17SkipMeasurements bool18FailOnPending bool19FailFast bool20FlakeAttempts int21EmitSpecProgress bool22DryRun bool23DebugParallel bool24
25ParallelNode int26ParallelTotal int27SyncHost string28StreamHost string29}
30
31// DefaultReporterConfigType has been deprecated and its equivalent now lives in
32// the types package. You can no longer access Ginkgo configuration from the config
33// package. Instead use the DSL's GinkgoConfiguration() function to get copies of the
34// current configuration
35//
36// DefaultReporterConfigType is still here so custom V1 reporters do not result in a compilation error
37// It will be removed in a future minor release of Ginkgo
38type DefaultReporterConfigType = DeprecatedDefaultReporterConfigType39type DeprecatedDefaultReporterConfigType struct {40NoColor bool41SlowSpecThreshold float6442NoisyPendings bool43NoisySkippings bool44Succinct bool45Verbose bool46FullTrace bool47ReportPassed bool48ReportFile string49}
50
51// Sadly there is no way to gracefully deprecate access to these global config variables.
52// Users who need access to Ginkgo's configuration should use the DSL's GinkgoConfiguration() method
53// These new unwieldy type names exist to give users a hint when they try to compile and the compilation fails
54type GinkgoConfigIsNoLongerAccessibleFromTheConfigPackageUseTheDSLsGinkgoConfigurationFunctionInstead struct{}55
56// Sadly there is no way to gracefully deprecate access to these global config variables.
57// Users who need access to Ginkgo's configuration should use the DSL's GinkgoConfiguration() method
58// These new unwieldy type names exist to give users a hint when they try to compile and the compilation fails
59var GinkgoConfig = GinkgoConfigIsNoLongerAccessibleFromTheConfigPackageUseTheDSLsGinkgoConfigurationFunctionInstead{}60
61// Sadly there is no way to gracefully deprecate access to these global config variables.
62// Users who need access to Ginkgo's configuration should use the DSL's GinkgoConfiguration() method
63// These new unwieldy type names exist to give users a hint when they try to compile and the compilation fails
64type DefaultReporterConfigIsNoLongerAccessibleFromTheConfigPackageUseTheDSLsGinkgoConfigurationFunctionInstead struct{}65
66// Sadly there is no way to gracefully deprecate access to these global config variables.
67// Users who need access to Ginkgo's configuration should use the DSL's GinkgoConfiguration() method
68// These new unwieldy type names exist to give users a hint when they try to compile and the compilation fails
69var DefaultReporterConfig = DefaultReporterConfigIsNoLongerAccessibleFromTheConfigPackageUseTheDSLsGinkgoConfigurationFunctionInstead{}70