Merge pull request #4229 from zmerlynn/gingko_flags

Turn on color, turn on EmitSpecProgress
This commit is contained in:
Jeff Lowdermilk 2015-02-06 15:37:00 -08:00
commit 172b2d0fb2

View File

@ -32,13 +32,12 @@ import (
type testResult bool
func init() {
// Turn off colors by default to make it easier to collect console output in Jenkins
// Override colors off with --ginkgo.noColor=false in the command-line
config.DefaultReporterConfig.NoColor = true
// Turn on verbose by default to get spec names
config.DefaultReporterConfig.Verbose = true
// Turn on EmitSpecProgress to get spec progress (especially on interrupt)
config.GinkgoConfig.EmitSpecProgress = true
// Randomize specs as well as suites
config.GinkgoConfig.RandomizeAllSpecs = true
}