table

package
v0.49.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 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) 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