reporters

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJSONReporter

func NewJSONReporter(filename, platform, version string) *jsonReporter

Types

type Reporter

type Reporter interface {
	ReportTest(string, testresult.TestResult, time.Duration, []byte)
	Output(string) error
	SetResult(testresult.TestResult)
}

type Reporters

type Reporters []Reporter

func (Reporters) Output

func (reps Reporters) Output(path string) error

func (Reporters) ReportTest

func (reps Reporters) ReportTest(name string, result testresult.TestResult, duration time.Duration, b []byte)

func (Reporters) SetResult

func (reps Reporters) SetResult(s testresult.TestResult)

Jump to

Keyboard shortcuts

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