printer

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package printer contains setup for a friendlier Ginkgo printer that's easier to parse by test automation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NewlineReporter

type NewlineReporter struct{}

NewlineReporter is Reporter that Prints a newline after the default Reporter output so that the results are correctly parsed by test automation. See issue https://github.com/jstemmer/go-junit-report/issues/31

func (NewlineReporter) AfterSuiteDidRun

func (NewlineReporter) AfterSuiteDidRun(setupSummary *types.SetupSummary)

AfterSuiteDidRun implements ginkgo.Reporter

func (NewlineReporter) BeforeSuiteDidRun

func (NewlineReporter) BeforeSuiteDidRun(setupSummary *types.SetupSummary)

BeforeSuiteDidRun implements ginkgo.Reporter

func (NewlineReporter) SpecDidComplete

func (NewlineReporter) SpecDidComplete(specSummary *types.SpecSummary)

SpecDidComplete implements ginkgo.Reporter

func (NewlineReporter) SpecSuiteDidEnd

func (NewlineReporter) SpecSuiteDidEnd(summary *types.SuiteSummary)

SpecSuiteDidEnd Prints a newline between "35 Passed | 0 Failed | 0 Pending | 0 Skipped" and "--- PASS:"

func (NewlineReporter) SpecSuiteWillBegin

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

SpecSuiteWillBegin implements ginkgo.Reporter

func (NewlineReporter) SpecWillRun

func (NewlineReporter) SpecWillRun(specSummary *types.SpecSummary)

SpecWillRun implements ginkgo.Reporter

Jump to

Keyboard shortcuts

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