ginkgoreporter

package
v0.0.0-...-68efac8 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2014 License: Apache-2.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GinkgoReporter

type GinkgoReporter struct {
	// contains filtered or unexported fields
}

func New

func New(writer io.Writer) *GinkgoReporter

func (*GinkgoReporter) AfterSuiteDidRun

func (g *GinkgoReporter) AfterSuiteDidRun(setupSummary *types.SetupSummary)

func (*GinkgoReporter) BeforeSuiteDidRun

func (g *GinkgoReporter) BeforeSuiteDidRun(setupSummary *types.SetupSummary)

func (*GinkgoReporter) SpecDidComplete

func (g *GinkgoReporter) SpecDidComplete(specSummary *types.SpecSummary)

func (*GinkgoReporter) SpecSuiteDidEnd

func (g *GinkgoReporter) SpecSuiteDidEnd(summary *types.SuiteSummary)

func (*GinkgoReporter) SpecSuiteWillBegin

func (g *GinkgoReporter) SpecSuiteWillBegin(config config.GinkgoConfigType, summary *types.SuiteSummary)

func (*GinkgoReporter) SpecWillRun

func (g *GinkgoReporter) SpecWillRun(specSummary *types.SpecSummary)

type SetupSummary

type SetupSummary struct {
	Name    string        `json:"name"`
	State   string        `json:"state"`
	Passed  bool          `json:"passed"`
	RunTime time.Duration `json:"run_time,omitempty"`

	StackTrace string `json:"stack_trace,omitempty"`
}

type SpecSummary

type SpecSummary struct {
	Name     []string      `json:"name"`
	Location string        `json:"location"`
	State    string        `json:"state"`
	Passed   bool          `json:"passed"`
	RunTime  time.Duration `json:"run_time"`

	StackTrace string `json:"stack_trace,omitempty"`
}

type SuiteEndSummary

type SuiteEndSummary struct {
	SuiteDescription           string `json:"description"`
	Passed                     bool
	NumberOfSpecsThatWillBeRun int `json:"num_specs"`
	NumberOfPassedSpecs        int `json:"num_passed"`
	NumberOfFailedSpecs        int `json:"num_failed"`
}

type SuiteStartSummary

type SuiteStartSummary struct {
	RandomSeed                 int64  `json:"random_seed"`
	SuiteDescription           string `json:"description"`
	NumberOfSpecsThatWillBeRun int    `json:"num_specs"`
}

Jump to

Keyboard shortcuts

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