config

package
v6.13.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2015 License: MIT, Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

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

View Source
const VERSION = "1.2.0"

Variables

View Source
var DefaultReporterConfig = DefaultReporterConfigType{}
View Source
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
	Succinct          bool
	Verbose           bool
	FullTrace         bool
}

type GinkgoConfigType

type GinkgoConfigType struct {
	RandomSeed        int64
	RandomizeAllSpecs bool
	FocusString       string
	SkipString        string
	SkipMeasurements  bool
	FailOnPending     bool
	FailFast          bool
	EmitSpecProgress  bool
	DryRun            bool

	ParallelNode  int
	ParallelTotal int
	SyncHost      string
	StreamHost    string
}

Jump to

Keyboard shortcuts

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