package config

import "github.com/onsi/ginkgo/config"

Ginkgo accepts a number of configuration options.

These are documented [here](http://onsi.github.io/ginkgo/#the-ginkgo-cli)

You can also learn more via

ginkgo help

or (I kid you not):

go test -asdf

Index

Constants

const VERSION = "1.16.5"

Variables

var DefaultReporterConfig = DefaultReporterConfigType{}
var GinkgoConfig = GinkgoConfigType{}

Functions

func BuildFlagArgs

func BuildFlagArgs(prefix string, ginkgo GinkgoConfigType, reporter DefaultReporterConfigType) []string

func Flags

func Flags(flagSet *flag.FlagSet, prefix string, includeParallelFlags bool)

Types

type DefaultReporterConfigType

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

type GinkgoConfigType

type GinkgoConfigType 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
}

Source Files

config.go

Version
v1.16.5 (latest)
Published
Oct 11, 2021
Platform
linux/amd64
Imports
3 packages
Last checked
1 month ago

Tools for package owners.