reporter

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCapturedOutputEnricher added in v0.40.0

func NewCapturedOutputEnricher(reporters ...ginkgo.Reporter) *capturedOutputEnricher

NewCapturedOutputEnricher captures additional interesting cluster info and adds it to the captured output to enrich existing reporters, like the junit reporter, with additional data.

Types

type JustAfterEachReporter added in v0.46.0

type JustAfterEachReporter interface {
	JustAfterEach(specSummary ginkgo.GinkgoTestDescription)
}

type KubernetesReporter

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

func NewKubernetesReporter

func NewKubernetesReporter(artifactsDir string, maxFailures int) *KubernetesReporter

func (*KubernetesReporter) AfterSuiteDidRun

func (r *KubernetesReporter) AfterSuiteDidRun(setupSummary *types.SetupSummary)

func (*KubernetesReporter) BeforeSuiteDidRun

func (r *KubernetesReporter) BeforeSuiteDidRun(_ *types.SetupSummary)

func (*KubernetesReporter) Cleanup added in v0.22.0

func (r *KubernetesReporter) Cleanup()

Cleanup cleans up the current content of the artifactsDir

func (*KubernetesReporter) DumpAllNamespaces added in v0.45.0

func (r *KubernetesReporter) DumpAllNamespaces(duration time.Duration)

func (*KubernetesReporter) DumpTestNamespaces added in v0.45.0

func (r *KubernetesReporter) DumpTestNamespaces(duration time.Duration)

func (*KubernetesReporter) JustAfterEach added in v0.46.0

func (r *KubernetesReporter) JustAfterEach(specSummary ginkgo.GinkgoTestDescription)

func (*KubernetesReporter) SpecDidComplete

func (r *KubernetesReporter) SpecDidComplete(_ *types.SpecSummary)

func (*KubernetesReporter) SpecSuiteDidEnd

func (r *KubernetesReporter) SpecSuiteDidEnd(_ *types.SuiteSummary)

func (*KubernetesReporter) SpecSuiteWillBegin

func (r *KubernetesReporter) SpecSuiteWillBegin(_ config.GinkgoConfigType, _ *types.SuiteSummary)

func (*KubernetesReporter) SpecWillRun

func (r *KubernetesReporter) SpecWillRun(_ *types.SpecSummary)

Jump to

Keyboard shortcuts

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