table

package
v0.68.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reporter

type Reporter struct {
	TestResults []report.TestResult
	Dst         io.Writer
	// contains filtered or unexported fields
}

Reporter is a table writer implementation for report.Reporter.

func (*Reporter) Add

func (r *Reporter) Add(t report.TestResult)

Add adds the test result to the summary table.

func (*Reporter) ArtifactRequirements added in v0.62.0

func (r *Reporter) ArtifactRequirements() []report.ArtifactType

ArtifactRequirements returns a list of artifact types are this reporter requires to create a proper report.

func (*Reporter) Render

func (r *Reporter) Render()

Render renders out a test summary table to the destination of Reporter.Dst.

func (*Reporter) Reset

func (r *Reporter) Reset()

Reset resets the reporter to its initial state. This action will delete all test results.

Jump to

Keyboard shortcuts

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