config - ActiveState ActiveGo 1.8
...

Package config

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

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

Constants

const VERSION = "1.3.1"

Variables

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

func BuildFlagArgs

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

func Flags

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

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
    RegexScansFilePath bool
    FocusString        string
    SkipString         string
    SkipMeasurements   bool
    FailOnPending      bool
    FailFast           bool
    FlakeAttempts      int
    EmitSpecProgress   bool
    DryRun             bool

    ParallelNode  int
    ParallelTotal int
    SyncHost      string
    StreamHost    string
}